Skip to content

Commit 098e358

Browse files
committed
✅ fix windows test
1 parent 40e6eee commit 098e358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/external-assertions/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import {fixture} from '../helpers/exec.js';
44

55
test('node assertion ', async t => {
66
const result = await t.throwsAsync(fixture(['assert-failure.js']));
7-
t.snapshot(result.stdout.replace(/\r/g, ''));
7+
t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//'));
88
});
99

1010
test('expect error ', async t => {
1111
const result = await t.throwsAsync(fixture(['expect-failure.js']));
12-
t.snapshot(result.stdout.replace(/\r/g, ''));
12+
t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//'));
1313
});

0 commit comments

Comments
 (0)