Skip to content

Commit

Permalink
replace expected as well
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Apr 9, 2023
1 parent 8c3e19e commit 8daec45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/assertSnapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function assertSnapshot(actual, filename = process.argv[1]) {
await fs.writeFile(snapshot, actual);
} else {
const expected = await fs.readFile(snapshot, 'utf8');
assert.strictEqual(actual, expected);
assert.strictEqual(actual, replaceWindowsLineEndings(expected));
}
}

Expand Down

0 comments on commit 8daec45

Please sign in to comment.