Skip to content

Commit

Permalink
Update uuidv7_test.lua
Browse files Browse the repository at this point in the history
Oops, forgot to change the 4 for a 7
  • Loading branch information
mterron authored Jun 23, 2024
1 parent e3897ff commit 2bbf9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tool/net/uuidv7_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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) == "-")
Expand Down

0 comments on commit 2bbf9d9

Please sign in to comment.