aboutsummaryrefslogtreecommitdiff
path: root/test/lua_uuid_test.lua
blob: 19ebf675e9e3951462ff9285a6ff5ff6cc84be12 (plain)
1
2
3
4
5
6
7
8
9
10
11
package.path = package.path..";./?.lua"

local uuid = require "lua_uuid"

assert(type(uuid) == "function")

local first = uuid()
local second = uuid()

assert(first ~= second)
assert(type(uuid()) == "string")