Skip to content

Commit

Permalink
Fix expectation with completion item ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Aug 18, 2024
1 parent 729fb92 commit a590376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/FsAutoComplete.Tests.Lsp/EmptyFileTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ let tests state =
"should have a complete completion list all containing c"

let firstItem = completions.Items.[0]
Expect.equal firstItem.Label "async" "first member should be async"
Expect.equal firstItem.Label "abs" "first member should be abs"
| Ok None -> failtest "Should have gotten some completion items"
| Error e -> failtestf "Got an error while retrieving completions: %A" e
}) ] ]

0 comments on commit a590376

Please sign in to comment.