From ef2ffc6d787757e4422e2afd5e9f230b042947a2 Mon Sep 17 00:00:00 2001 From: Dan Quirk Date: Wed, 23 Jul 2014 17:10:38 -0700 Subject: [PATCH] Cleanup --- src/harness/harness.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/harness/harness.ts b/src/harness/harness.ts index 25c04993b31..43d3ba33cb1 100644 --- a/src/harness/harness.ts +++ b/src/harness/harness.ts @@ -624,10 +624,6 @@ module Harness { settingsCallback(null); } - // always use \r\n for newlines unless the test specifies otherwise - // this ensures baseline consistency across Windows and *nix but still lets us test both \n and \r\n - //sys.newLine = '\r\n'; - this.settings.forEach(setting => { switch (setting.flag.toLowerCase()) { // "filename", "comments", "declaration", "module", "nolib", "sourcemap", "target", "out", "outDir", "noimplicitany", "noresolve" @@ -762,6 +758,7 @@ module Harness { result.updateSourceMapRecord(program, sourceMapData); onComplete(result); + // reset what newline means in case the last test changed it sys.newLine = '\r\n'; return options; }