mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
Update uuidv7_test.lua
Oops, forgot to change the 4 for a 7
This commit is contained in:
parent
e3897ffd90
commit
2bbf9d9ea0
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
-- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
-- PERFORMANCE OF THIS SOFTWARE.
|
||||
for _ = 1, 1000 do
|
||||
local uuid = UuidV4()
|
||||
local uuid = UuidV7()
|
||||
assert(#uuid == 36)
|
||||
assert(string.sub(uuid, 9, 9) == "-")
|
||||
assert(string.sub(uuid, 14, 14) == "-")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue