Skip to content

Commit 8f19aee

Browse files
committed
fix completion test
1 parent 0cfe5ea commit 8f19aee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vsintegration/tests/FSharp.Editor.Tests/CompletionProviderTests.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,10 +2090,10 @@ match { A = 1; B = 2 } with
20902090

20912091
VerifyCompletionList(fileContents, "| { A = 1; ", [ "B"; "R1"; "R2" ], [ "C"; "D" ])
20922092
VerifyCompletionList(fileContents, "| { A = 2; s", [ "B"; "R1"; "R2" ], [ "C"; "D" ])
2093-
VerifyCompletionList(fileContents, "| { B =", [ "R1"; "R2"; "Some"; "None"; "System"; "DU" ], [ "A"; "B"; "C"; "D" ])
2094-
VerifyCompletionList(fileContents, "| { B = ", [ "R1"; "R2"; "Some"; "None"; "System"; "DU" ], [ "A"; "B"; "C"; "D" ])
2095-
VerifyCompletionList(fileContents, "| { X =", [ "R1"; "R2"; "Some"; "None"; "System"; "DU" ], [ "A"; "B"; "C"; "D" ])
2096-
VerifyCompletionList(fileContents, "| { X = ", [ "R1"; "R2"; "Some"; "None"; "System"; "DU" ], [ "A"; "B"; "C"; "D" ])
2093+
VerifyCompletionList(fileContents, "| { B =", [ "R1"; "R2"; "System" ], [ "A"; "B"; "C"; "D" ])
2094+
VerifyCompletionList(fileContents, "| { B = ", [ "R1"; "R2"; "System" ], [ "A"; "B"; "C"; "D" ])
2095+
VerifyCompletionList(fileContents, "| { X =", [ "R1"; "R2"; "System" ], [ "A"; "B"; "C"; "D" ])
2096+
VerifyCompletionList(fileContents, "| { X = ", [ "R1"; "R2"; "System" ], [ "A"; "B"; "C"; "D" ])
20972097

20982098
// Ideally C and D should not be present here, but right now we're not able to filter fields in an empty record pattern stub
20992099
VerifyCompletionList(fileContents, "| { ", [ "A"; "B"; "C"; "D"; "R1"; "R2" ], [])

0 commit comments

Comments
 (0)