mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-28 02:52:21 +00:00
Added lume.uuid(), tests and README.md section
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user