Skip to content

Commit

Permalink
fix assertions
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Apr 7, 2018
1 parent c284e61 commit 86681d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/reporters/tap.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('TAP reporter', function () {
'not ok ' + countAfterTestEnd + ' ' + expectedTitle + '\n',
' ' + expectedErrorMessage + '\n'
];
stdout.should.deepEqual(expectedArray);
expect(stdout).to.eql(expectedArray);
});
});
describe('if there is an error stack', function () {
Expand Down Expand Up @@ -170,7 +170,7 @@ describe('TAP reporter', function () {
' ' + expectedErrorMessage + '\n',
' ' + expectedStack + '\n'
];
stdout.should.deepEqual(expectedArray);
expect(stdout).to.eql(expectedArray);
});
});
describe('if there is no error stack or error message', function () {
Expand Down

0 comments on commit 86681d1

Please sign in to comment.