about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-11-30 23:04:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-11-30 23:04:52 -0800
commit2fd68068486c7ab3f9b0f553791fcb5fa8cfaeb2 (patch)
tree9a3767c1643ae6b9a9f742e5319a81534d414cca
parent7f2b179ac3131585411dc7966403217fbff7756f (diff)
parenta8a8965b1b313acb7a5d7395aa72c68348e0ddb2 (diff)
downloadview.love-2fd68068486c7ab3f9b0f553791fcb5fa8cfaeb2.tar.gz
Merge lines.love
-rw-r--r--test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.lua b/test.lua
index b2b6f3c..ab890b8 100644
--- a/test.lua
+++ b/test.lua
@@ -32,12 +32,12 @@ function eq(a, b)
   if type(a) == 'table' then
     if #a ~= #b then return false end
     for k, v in pairs(a) do
-      if b[k] ~= v then
+      if not eq(b[k], v) then
         return false
       end
     end
     for k, v in pairs(b) do
-      if a[k] ~= v then
+      if not eq(a[k], v) then
         return false
       end
     end