Update uuidv7_test.lua

Oops, forgot to change the 4 for a 7
This commit is contained in:
Terror 2024-06-24 09:57:53 +12:00 committed by GitHub
parent e3897ffd90
commit 2bbf9d9ea0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) == "-")