Skip to content

Commit 8daec45

Browse files
committed
replace expected as well
1 parent 8c3e19e commit 8daec45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/assertSnapshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function assertSnapshot(actual, filename = process.argv[1]) {
3131
await fs.writeFile(snapshot, actual);
3232
} else {
3333
const expected = await fs.readFile(snapshot, 'utf8');
34-
assert.strictEqual(actual, expected);
34+
assert.strictEqual(actual, replaceWindowsLineEndings(expected));
3535
}
3636
}
3737

0 commit comments

Comments
 (0)