mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-25 16:53:46 +01:00
Fix test
This commit is contained in:
parent
f4b7eca18f
commit
d709a7e001
4
test.lua
4
test.lua
@ -61,8 +61,8 @@ do
|
|||||||
return retval
|
return retval
|
||||||
end
|
end
|
||||||
local memo = func.memoize(fun)
|
local memo = func.memoize(fun)
|
||||||
assert(memo(arg) == false)
|
assert(memo"test" == false)
|
||||||
assert(memo(arg) == false)
|
assert(memo.test == false)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- string
|
-- string
|
||||||
|
Loading…
Reference in New Issue
Block a user