Skip to content

Commit b33a61b

Browse files
Revert unneeded test changes
1 parent 1ef9073 commit b33a61b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/FSharp.Compiler.ComponentTests/Conformance/Constraints/Unmanaged.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ test (ValueSome (struct {|Field = Some 42|}))
9595
|> withDiagnostics [
9696
Error 1, Line 3, Col 17, Line 3, Col 22, "A generic construct requires that the type 'string' is an unmanaged type"
9797
Error 1, Line 4, Col 28, Line 4, Col 33, "A generic construct requires that the type 'string' is an unmanaged type"
98-
Error 1, Line 5, Col 18, Line 5, Col 44, "A generic construct requires that the type 'int option' is an unmanaged type" ]
98+
Error 1, Line 5, Col 18, Line 5, Col 44, "A generic construct requires that the type ''a option' is an unmanaged type" ]
9999

100100
[<Fact>]
101101
let ``Option not considered unmanaged`` () =

tests/FSharp.Compiler.ComponentTests/Language/Nullness/NullableReferenceTypesTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ myNullReturningFunction myValOfY |> ignore
10121012
|> withDiagnostics
10131013
[Error 3261, Line 17, Col 25, Line 17, Col 34, "Nullness warning: The type 'string' does not support 'null'."
10141014
Error 193, Line 19, Col 26, Line 19, Col 45, "The type 'System.DateTime' does not have 'null' as a proper value"
1015-
Error 1, Line 20, Col 25, Line 20, Col 36, "The type '{| Anon: int |}' does not have 'null' as a proper value"
1015+
Error 1, Line 20, Col 25, Line 20, Col 36, "The type '{| Anon: 'a |}' does not have 'null' as a proper value"
10161016
Error 1, Line 21, Col 26, Line 21, Col 31, "The type ''a * 'b * 'c' does not have 'null' as a proper value"
10171017
Error 1, Line 23, Col 25, Line 23, Col 33, "The type 'Y' does not have 'null' as a proper value"]
10181018

0 commit comments

Comments
 (0)