Skip to content

Commit ef2ffc6

Browse files
committed
Cleanup
1 parent 3ad77c6 commit ef2ffc6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/harness/harness.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,6 @@ module Harness {
624624
settingsCallback(null);
625625
}
626626

627-
// always use \r\n for newlines unless the test specifies otherwise
628-
// this ensures baseline consistency across Windows and *nix but still lets us test both \n and \r\n
629-
//sys.newLine = '\r\n';
630-
631627
this.settings.forEach(setting => {
632628
switch (setting.flag.toLowerCase()) {
633629
// "filename", "comments", "declaration", "module", "nolib", "sourcemap", "target", "out", "outDir", "noimplicitany", "noresolve"
@@ -762,6 +758,7 @@ module Harness {
762758
result.updateSourceMapRecord(program, sourceMapData);
763759
onComplete(result);
764760

761+
// reset what newline means in case the last test changed it
765762
sys.newLine = '\r\n';
766763
return options;
767764
}

0 commit comments

Comments
 (0)