Skip to content

Commit

Permalink
Fix another inaccurate test
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Jan 24, 2021
1 parent 7b6dbe1 commit 7a80bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/Completion.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ tests = testGroup "completions" [
let te = TextEdit (Range (Position 0 13) (Position 0 31)) "Str"
_ <- applyEdit doc te

compls <- getCompletions doc (Position 0 24)
compls <- getCompletions doc (Position 0 16)
let item = head $ filter ((== "Strict") . (^. label)) compls
liftIO $ do
item ^. label @?= "Strict"
Expand Down

0 comments on commit 7a80bb1

Please sign in to comment.