Skip to content

Commit ec0ce6a

Browse files
committed
trim for node 9 and 10 as well
1 parent 02a8394 commit ec0ce6a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

integration-tests/__tests__/failures.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ test('works with node assert', () => {
4242
if (nodeMajorVersion >= 9) {
4343
expect(summary).toContain(`
4444
assert.doesNotThrow(function)
45-
45+
4646
Expected the function not to throw an error.
4747
Instead, it threw:
4848
[Error: err!]
49-
49+
5050
Message:
5151
Got unwanted exception.
5252
`);
@@ -89,17 +89,17 @@ test('works with node assert', () => {
8989
if (nodeMajorVersion >= 10) {
9090
const ifErrorMessage = `
9191
assert.ifError(received, expected)
92-
92+
9393
Expected value ifError to:
9494
null
9595
Received:
9696
1
97-
97+
9898
Message:
9999
ifError got unwanted exception: 1
100-
100+
101101
Difference:
102-
102+
103103
Comparing two different types of values. Expected null but received number.
104104
105105
65 |

0 commit comments

Comments
 (0)