nhartland / forma

A Lua toolkit for computational geometry on a grid

Home Page:https://nhartland.github.io/forma/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checks failing with luaunit v3.4

nhartland opened this issue · comments

Assertions on pattern equality through assertEquals that worked in v3.3 are failing in v3.4 of luaunit. This is despite the metamethod eq returning true for the failing cases. E.g

assertEquals(pattern1, pattern2) -- Fails
assertTrue(pattern1 == pattern2) -- Succeeds

Maybe luaunit is not properly handling the eq metamethod?