Added another test for lume.slice()

This commit is contained in:
rxi 2014-04-17 12:30:19 +01:00
parent cd3c0a1eea
commit 841cee30e1

View File

@ -245,6 +245,7 @@ tests["lume.slice"] = function()
testeq( lume.slice({"a", "b", "c", "d", "e"}, 0, 1), {"a"} )
testeq( lume.slice({"a", "b", "c", "d", "e"}, 0, 0), {} )
testeq( lume.slice({"a", "b", "c", "d", "e"}, -3), {"c", "d", "e"} )
testeq( lume.slice({"a", "b", "c", "d", "e"}, -3, 900), {"c", "d", "e"} )
end
-- lume.invert