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.
1 parent c79a8ab commit ec8a424Copy full SHA for ec8a424
tests/fsharp/Compiler/CompilerAssert.fs
@@ -168,6 +168,9 @@ module CompilerAssert =
168
let errors = p.StandardError.ReadToEnd ()
169
if not (String.IsNullOrWhiteSpace errors) then
170
Assert.Fail errors
171
+
172
+ if p.ExitCode <> 0 then
173
+ Assert.Fail(sprintf "Program exited with exit code %d" p.ExitCode)
174
)
175
176
let CompileLibraryAndVerifyIL (source: string) (f: ILVerifier -> unit) =
0 commit comments