lunarmodules / luassert

Assertion library for Lua
MIT License
206 stars 77 forks source link

Infinite loop in utils.deepcompare #54

Closed benbarbour closed 9 years ago

benbarbour commented 10 years ago

utils.deepcompare (and hence spy.calledwith) goes into infinite loop if t1 and t2 have references to each other.

o-lim commented 9 years ago

Fixed with PR #109