Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit f9fb55f

Browse files
author
mikesamuel@gmail.com
committed
normalize newlines in tests
1 parent 51f4472 commit f9fb55f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function runTests(goldens) {
179179
for (var i = 0; (i = out.indexOf('\xa0')) >= 0;) {
180180
out = out.substring(0, i) + ' ' + out.substring(i + 1);
181181
}
182-
return out;
182+
return out.replace(/\r\n?/g, '\n');
183183
}
184184

185185
var htmlOut = [];

0 commit comments

Comments
 (0)