mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-28 02:52:21 +00:00
Changed lume.clear() to return the table, updated doc & tests
This commit is contained in:
@@ -142,6 +142,7 @@ tests["lume.clear"] = function()
|
||||
local m = { a = 1, b = 2, c = 3 }
|
||||
lume.clear(m)
|
||||
testeq(m, {})
|
||||
testeq( lume.clear(t) == t, true )
|
||||
end
|
||||
|
||||
-- lume.shuffle
|
||||
|
Reference in New Issue
Block a user