diff options
-rw-r--r-- | test.lua | 4 |
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 |