Open RiskoZoSlovenska opened 1 year ago
See https://github.com/lunarmodules/luassert/issues/193#issuecomment-1605903228 for context.
This PR makes util.deepcompare attempt to compare keys that are tables instead of just giving up right away, so that
util.deepcompare
assert.are.same({ [{}] = 1 }, { [{}] = 1 })
passes.
discussion in #193 , hence locking discussion here
See https://github.com/lunarmodules/luassert/issues/193#issuecomment-1605903228 for context.
This PR makes
util.deepcompare
attempt to compare keys that are tables instead of just giving up right away, so thatpasses.