Skip to content

Commit 61ef8e2

Browse files
committed
Add a test for #2673
1 parent 47cb213 commit 61ef8e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ghcide/test/exe/Main.hs

+9
Original file line numberDiff line numberDiff line change
@@ -4653,6 +4653,15 @@ nonLocalCompletionTests =
46534653
]
46544654
(Position 3 6)
46554655
[],
4656+
testGroup "ordering"
4657+
[completionTest "qualified has priority"
4658+
["module A where"
4659+
,"import qualified Data.ByteString as BS"
4660+
,"f = BS.read"
4661+
]
4662+
(Position 2 10)
4663+
[("readFile", CiFunction, "readFile ${1:FilePath}", True, True, Nothing)]
4664+
],
46564665
testGroup "auto import snippets"
46574666
[ completionCommandTest
46584667
"show imports not in list - simple"

0 commit comments

Comments
 (0)