From 841cee30e15a7c3e7cc11efcf53a3b4d8b873240 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 17 Apr 2014 12:30:19 +0100 Subject: [PATCH] Added another test for lume.slice() --- test/test_lume.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_lume.lua b/test/test_lume.lua index 0849190..b68245d 100644 --- a/test/test_lume.lua +++ b/test/test_lume.lua @@ -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