Skip to content

Commit

Permalink
update expected string in test
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Oct 21, 2023
1 parent 2e8e903 commit 5e1ab74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/globalErr.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('globalErr', function () {
it('should throw if object val\'s props are not included in error object', function () {
err(function () {
err(function () { throw new Err('cat') }, {text: 'cat'});
}, /expected AssertionError{ message: 'cat', …\(2\) } to have property \'text\'/);
}, /expected AssertionError: cat to have property \'text\'/);

err(function () {
err(function () { throw new Err('cat') }, {message: 'dog'});
Expand Down

0 comments on commit 5e1ab74

Please sign in to comment.