You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Testing: some tests kill the testhost from the inside #19406
if greeting <> "Hello, World! Count: 42" then exit 1
let formatted = $"Pi is approximately {System.Math.PI:F2}"
if not (formatted.Contains("3.14")) then exit 1
()
"""
|> withOptions ["--nologo"]
|> runFsi
|> shouldSucceed
|> ignore
A safeguard could be to preemptively shadow exit when creating a fsi session:
script.Eval("let exit _ = ...")
The test fails locally because of system language settings. Apparently, I had CurrentUICulture En-US but CurrentCulture pl-PL. The latter decides about formatting.
Activity