Skip to content

Commit 03c3267

Browse files
committed
Fix suggestion tests
1 parent 1092740 commit 03c3267

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/fsharp/Compiler/ErrorMessages/SuggestionsTests.fs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ open System.Collectons
170170
FSharpErrorSeverity.Error
171171
39
172172
(2, 13, 2, 23)
173-
"The namespace 'Collectons' is not defined. Maybe you want one of the following:\r\n Collections"
173+
"The namespace 'Collectons' is not defined."
174174

175175

176176
[<Test>]
@@ -251,8 +251,7 @@ let x : System.Collections.Generic.Lst = ResizeArray()
251251
FSharpErrorSeverity.Error
252252
39
253253
(2, 36, 2, 39)
254-
"The type 'Lst' is not defined in 'System.Collections.Generic'. Maybe you want one of the following:\r\n List"
255-
254+
"The type 'Lst' is not defined in 'System.Collections.Generic'. Maybe you want one of the following:\r\n List\r\n IList\r\n List`1"
256255

257256
[<Test>]
258257
let ``Suggest Types in Namespace`` () =
@@ -263,7 +262,7 @@ let x = System.DateTie.MaxValue
263262
FSharpErrorSeverity.Error
264263
39
265264
(2, 16, 2, 23)
266-
"The value, constructor, namespace or type 'DateTie' is not defined. Maybe you want one of the following:\r\n DateTime"
265+
"The value, constructor, namespace or type 'DateTie' is not defined. Maybe you want one of the following:\r\n DateTime\r\n DateTimeKind\r\n DateTimeOffset\r\n Data"
267266

268267

269268
[<Test>]

0 commit comments

Comments
 (0)