Skip to content

Commit 871f981

Browse files
authored
Remove old error bsl in component tests to avoid confusion (#17653)
1 parent 27599c0 commit 871f981

File tree

271 files changed

+425
-425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+425
-425
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// #Regression #NoMT #CompilerOptions
2-
//<Expects id="FS0243" status="error">Unrecognized option: .+</Expects>
2+
33
#light
44
exit 0

tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/codepage/E_InvalidArgument.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Actual message is: error FS0191: Valid values are between 0 and 65535, inclusive.
44
// Parameter Name: codepage
55
// but is is localized!
6-
//<Expects id="FS1000" status="error">Problem with codepage '65536': Valid values are between 0 and 65535, inclusive</Expects>
6+
77

88

99
exit 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// #NoMT #CompilerOptions #Determinism
2-
//<Expects id="FS2027" status="error">--pathmap can only be used with portable PDBs \(--debug:portable or --debug:embedded\)</Expects>
2+
33
exit 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// #NoMT #CompilerOptions #Determinism
2-
//<Expects id="FS2028" status="error">Invalid path map\. Mappings must be comma separated and of the format 'path=sourcePath'</Expects>
2+
33
exit 0

tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/flaterrors/E_MultiLine01.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #Regression #NoMT #CompilerOptions #RequiresENU
22
// Test that without [--flaterrors] flag multi-line errors are emitted in a regular way, i.e. spanned to more that one line
3-
//<Expects id="FS0001" status="error" span="(8,11)">This expression was expected to have type</Expects>
3+
44
//<Expects status="success"> ''a list'</Expects>
55
//<Expects status="success">but here has type</Expects>
66
//<Expects status="success"> 'seq<'b>'</Expects>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #Regression #NoMT #CompilerOptions
22
// Test that using [--flaterrors] does not make an impact on regular single-line error messages
3-
//<Expects id="FS0039" status="error">The value or constructor 'b' is not defined</Expects>
3+
44

55
let a = b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// #Regression #NoMT #CompilerOptions
2-
//<Expects id="FS0243" status="error">Unrecognized option: '--PLATFORM'</Expects>
2+
33
printfn "Finished"
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #Regression #NoMT #CompilerOptions
2-
//<Expects id="FS0243" status="error">Unrecognized option: '--PlatForm'</Expects>
2+
33

44
printfn "Finished"
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #Regression #NoMT #CompilerOptions
2-
//<Expects id="FS1064" status="error">Unrecognized platform 'ITANIUM', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects>
2+
33

44
printfn "Finished"
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// #Regression #NoMT #CompilerOptions
2-
//<Expects id="FS1064" status="error">Unrecognized platform 'ANYCPU', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects>
2+
33

44
printfn "Finished"
55

0 commit comments

Comments
 (0)