-
Notifications
You must be signed in to change notification settings - Fork 208
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.
oldergod, FlorianWendelborn, aMarCruz, sharnie, SCLeoX and 1 more
Metadata
Metadata
Assignees
Labels
No labels