From cbff46bdfb0a09e318c7303062278f0b9f8a26f9 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 8 Mar 2014 16:08:58 +0000 Subject: [PATCH] Fixed empty-table test for lume.invert() --- test/test_lume.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_lume.lua b/test/test_lume.lua index 76beef5..d96e83d 100644 --- a/test/test_lume.lua +++ b/test/test_lume.lua @@ -205,7 +205,7 @@ end -- lume.invert tests["lume_invert"] = function() - testeq( {}, {} ) + testeq( lume.invert({}), {} ) testeq( lume.invert{a = "x", b = "y"}, {x = "a", y = "b"} ) testeq( lume.invert{a = 1, b = 2}, {"a", "b"} ) testeq( lume.invert(lume.invert{a = 1, b = 2}), {a = 1, b = 2} )