Skip to content

Commit

Permalink
Merge pull request #88 from astorije/astorije/fix-tests
Browse files Browse the repository at this point in the history
Fix tests around AssertionError messages
  • Loading branch information
astorije authored Nov 23, 2017
2 parents 928119c + 50ca669 commit 0065edc
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 0065edc

Please sign in to comment.