Skip to content

Commit 1aff9d4

Browse files
committed
Fixed tests
1 parent 75392d3 commit 1aff9d4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/fsharp/CompileOps.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
25652565
clrRoot, (int v1, sprintf "v%d.%d" v1 v2), (v1=5us && v2=0us && v3=5us) // SL5 mscorlib is 5.0.5.0
25662566
| _ ->
25672567
failwith (FSComp.SR.buildCouldNotReadVersionInfoFromMscorlib())
2568-
with e ->
2568+
with e ->
25692569
error(Error(FSComp.SR.buildErrorOpeningBinaryFile(filename, e.Message), rangeStartup))
25702570
| _ ->
25712571
#if !ENABLE_MONO_SUPPORT
@@ -2626,7 +2626,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
26262626
checkFSharpBinaryCompatWithMscorlib filename ilReader.ILAssemblyRefs ilReader.ILModuleDef.ManifestOfAssembly.Version rangeStartup;
26272627
let fslibRoot = Path.GetDirectoryName(FileSystem.GetFullPathShim(filename))
26282628
fslibRoot (* , sprintf "v%d.%d" v1 v2 *)
2629-
with e ->
2629+
with e ->
26302630
error(Error(FSComp.SR.buildErrorOpeningBinaryFile(filename, e.Message), rangeStartup))
26312631
| _ ->
26322632
data.defaultFSharpBinariesDir
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #Regression #Multitargeting #NoMono #NETFX40Only
22
// Regression test for FSHARP1.0:6026
33
// Just a dummy file...
4-
//<Expects status="error" id="FS0218">Unable to read assembly '.+I_DO_NOT_EXIST\\FSharp\.Core\.dll'$</Expects>
4+
//<Expects status="error" id="FS0229">Error opening binary file '.+I_DO_NOT_EXIST\\FSharp\.Core\.dll'</Expects>
55

66
exit 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #Regression #Multitargeting #NoMono #NETFX40Only
22
// Regression test for FSHARP1.0:6026
33
// Just a dummy file...
4-
//<Expects status="error" id="FS0218">Unable to read assembly '.+I_DO_NOT_EXIST\\FSharp\.Core\.dll'$</Expects>
4+
//<Expects status="error" id="FS0229">Error opening binary file '.+I_DO_NOT_EXIST\\FSharp\.Core\.dll'</Expects>
55

66
exit 0

0 commit comments

Comments
 (0)