Open
Description
Following tests should not pass, but pass in Node v4+ and modern browsers that support ES6.
expect('a').to.be.eql(['a']);
expect('a').to.be.eql({0: 'a'});
expect(1).to.be.eql({});
expect(true).to.be.eql({});
Change of Object.keys in ES6 causes this issue.
I've fixed same issues in Node.js core assert.deepEqual and commonjs-assert.
Metadata
Metadata
Assignees
Labels
No labels