We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4184b commit 43cdfb2Copy full SHA for 43cdfb2
1 file changed
Naggum.Test/CompilerTest.fs
@@ -27,9 +27,9 @@ type CompilerTest() =
27
let startInfo = new ProcessStartInfo(executablePath, UseShellExecute = false, RedirectStandardOutput = true)
28
let ``process`` = Process.Start startInfo
29
``process``.WaitForExit()
30
- let result = ``process``.StandardOutput.ReadToEnd()
+ let result = ``process``.StandardOutput.ReadToEnd().Replace("\r\n", "\n")
31
32
- let reference = File.ReadAllText resultPath
+ let reference = (File.ReadAllText resultPath).Replace("\r\n", "\n")
33
Assert.Equal(reference, result)
34
35
[<Fact>]
0 commit comments