Skip to content

Commit a25534b

Browse files
committed
Remove unnecessary LineEndingSensitive option from BaselineOptions
1 parent 08cffc5 commit a25534b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/harness/harness.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,6 @@ module Harness {
16101610
export module Baseline {
16111611

16121612
export interface BaselineOptions {
1613-
LineEndingSensitive?: boolean;
16141613
Subfolder?: string;
16151614
Baselinefolder?: string;
16161615
}
@@ -1702,13 +1701,6 @@ module Harness {
17021701
expected = IO.readFile(refFileName);
17031702
}
17041703

1705-
var lineEndingInsensitive = opts && opts.LineEndingSensitive === false; // default is true
1706-
1707-
if (lineEndingInsensitive) {
1708-
expected = expected.replace(/\r\n?/g, '\n');
1709-
actual = actual.replace(/\r\n?/g, '\n');
1710-
}
1711-
17121704
return { expected, actual };
17131705
}
17141706

0 commit comments

Comments
 (0)