Added lume.uuid(), tests and README.md section

This commit is contained in:
rxi
2014-04-05 14:41:31 +01:00
parent 88b428cb4d
commit acdb58a447
3 changed files with 21 additions and 0 deletions

View File

@@ -371,6 +371,12 @@ tests["lume.dostring"] = function()
testeq( lume.dostring([[return 12345]]), 12345 )
end
tests["lume.uuid"] = function()
testeq( type(lume.uuid()), "string" )
testeq( #lume.uuid(), 36 )
end
-- lume.hotswap
tests["lume.hotswap"] = function()
local ok, err = lume.hotswap("bad_module_name")