Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 12, 2024
1 parent 8af9f8e commit d47ab51
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/sorcery.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ describe('cli', () => {

return {
name: name,
contents: contents
contents: contents.replace(/\r\n/g, '\n')
};
});
}
Expand All @@ -531,10 +531,7 @@ describe('cli', () => {
var actual = catalogue('actual');

try {
assert.deepEqual(
actual.replace(/\r\n/g, '\n'),
expected.replace(/\r\n/g, '\n')
);
assert.deepEqual(actual, expected);
fulfil();
} catch (err) {
reject(err);
Expand Down

0 comments on commit d47ab51

Please sign in to comment.