aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorthefosk <marco@mashape.com>2015-11-06 21:22:07 -0800
committerthefosk <marco@mashape.com>2015-11-06 21:22:07 -0800
commitb1696f33dd7ae2b621ad8d04f1547df57731d6d0 (patch)
treef77bd2bb6215647d2681ae62f091aa813ec44fcb /test
downloadlua_uuid-b1696f33dd7ae2b621ad8d04f1547df57731d6d0.tar.gz
lua_uuid-b1696f33dd7ae2b621ad8d04f1547df57731d6d0.tar.bz2
lua_uuid-b1696f33dd7ae2b621ad8d04f1547df57731d6d0.zip
0.1-1 version
Diffstat (limited to 'test')
-rw-r--r--test/lua_uuid_test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lua_uuid_test.lua b/test/lua_uuid_test.lua
new file mode 100644
index 0000000..3cc44c2
--- /dev/null
+++ b/test/lua_uuid_test.lua
@@ -0,0 +1,8 @@
+local lua_uuid = require "lua_uuid"
+
+assert(lua_uuid.generate())
+
+local first = lua_uuid.generate()
+local second = lua_uuid.generate()
+
+assert(first ~= second) \ No newline at end of file