Automattic / expect.js

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

expect([]).to.eql({}) is true? #62

Open ashtuchkin opened 11 years ago

ashtuchkin commented 11 years ago

I believe it should not. Maybe you could compare the internal class name Object.prototype.toString.call(obj)? That would also fix #61 and #60. Thanks.