Skip to content

Commit

Permalink
Fix tests around AssertionError messages
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije committed Nov 22, 2017
1 parent e835034 commit b98764a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('chai-immutable (' + typeEnv + ')', function () {
// }
fail(function () {
expect(actual).to.equal(expected);
}, 'AssertionError: expected { Object (foo) } to equal { Object (bar) }');
}, 'expected { Object (foo) } to equal { Object (bar) }');
});

it('should fail given a non-Immutable value', function () {
Expand Down Expand Up @@ -760,7 +760,7 @@ describe('chai-immutable (' + typeEnv + ')', function () {
// }
fail(function () {
assert.equal(actual, expected);
}, 'AssertionError: expected { Object (foo) } to equal { Object (bar) }');
}, 'expected { Object (foo) } to equal { Object (bar) }');
});

it('should fail given a non-Immutable value', function () {
Expand Down

0 comments on commit b98764a

Please sign in to comment.