We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following test fails (see this build):
var list3 = List.of(1, 2, 3); var deepMap = new Map({ foo: 'bar', list: List.of(1, 2, 3) }); var sameDeepMap = new Map({ foo: 'bar', list: List.of(1, 2, 3) }); it('should fail given equal values', function () { assert.throws(function () { assert.notEqual(list3, List.of(1, 2, 3)); }, Error); }); it('should fail given deeply equal values', function () { assert.throws(function () { assert.notEqual(deepMap, sameDeepMap); }, Error); });
This shows that assert.notEqual needs to be overriden to take into account equality between values even though the underlying objects are different.
assert.notEqual
The text was updated successfully, but these errors were encountered:
9930e0e
No branches or pull requests
The following test fails (see this build):
This shows that
assert.notEqual
needs to be overriden to take into account equality between values even though the underlying objects are different.The text was updated successfully, but these errors were encountered: