From 50ca669149b0c4a92f10c5a33cd71aeae500c16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Wed, 22 Nov 2017 18:53:06 -0500 Subject: [PATCH] Fix tests around AssertionError messages --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 8dc4d89..9f3f6ea 100644 --- a/test/test.js +++ b/test/test.js @@ -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 () { @@ -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 () {