Skip to content

Commit

Permalink
Add a test for #2673
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Feb 1, 2022
1 parent 47cb213 commit 61ef8e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ghcide/test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4653,6 +4653,15 @@ nonLocalCompletionTests =
]
(Position 3 6)
[],
testGroup "ordering"
[completionTest "qualified has priority"
["module A where"
,"import qualified Data.ByteString as BS"
,"f = BS.read"
]
(Position 2 10)
[("readFile", CiFunction, "readFile ${1:FilePath}", True, True, Nothing)]
],
testGroup "auto import snippets"
[ completionCommandTest
"show imports not in list - simple"
Expand Down

0 comments on commit 61ef8e2

Please sign in to comment.