Remove unnecessary LineEndingSensitive option from BaselineOptions

This commit is contained in:
Jason Freeman 2015-05-05 11:36:21 -07:00
parent 08cffc598c
commit a25534bd8d

View File

@ -1610,7 +1610,6 @@ module Harness {
export module Baseline {
export interface BaselineOptions {
LineEndingSensitive?: boolean;
Subfolder?: string;
Baselinefolder?: string;
}
@ -1702,13 +1701,6 @@ module Harness {
expected = IO.readFile(refFileName);
}
var lineEndingInsensitive = opts && opts.LineEndingSensitive === false; // default is true
if (lineEndingInsensitive) {
expected = expected.replace(/\r\n?/g, '\n');
actual = actual.replace(/\r\n?/g, '\n');
}
return { expected, actual };
}