We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db36521 + 80b8607 commit f5b5a94Copy full SHA for f5b5a94
build.fsx
@@ -14,8 +14,8 @@ Target "Run" (fun _ ->
14
)
15
16
let testFile file =
17
- let baseline = File.ReadAllText("./baselines/" + file)
18
- let newFileWithLFEndings = File.ReadAllText("./generated/" + file).Replace(Environment.NewLine, "\n")
+ let baseline = File.ReadAllText("./baselines/" + file).Replace("\r\n", "\n")
+ let newFileWithLFEndings = File.ReadAllText("./generated/" + file).Replace("\r\n", "\n")
19
if String.Equals(baseline, newFileWithLFEndings) then
20
String.Empty
21
else
0 commit comments