tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

.eql Cannot handle circular reference. #110

Closed ashi009 closed 11 years ago

ashi009 commented 11 years ago

A simple example for this case.

var a = [];
a[0] = a;
var b = [];
b[0] = b;
a.should.eql(b);

which should not throw, but result in Maximum call stack size exceeded.