Automattic / expect.js

Minimalistic BDD-style assertions for Node.JS and the browser.
2.11k stars 209 forks source link

JS Regexp equality acting strangely #61

Open ghost opened 11 years ago

ghost commented 11 years ago

I think this is not the correct behavior:

/a/.should.eql(/b/); // true
/a/.should.eql({}); // true