Skip to content

Commit ebbea5f

Browse files
committed
Revert the change in ghcide tests
1 parent 8a8af33 commit ebbea5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ghcide/test/exe/Main.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4937,8 +4937,7 @@ projectCompletionTests =
49374937
"import ALocal"
49384938
]
49394939
compls <- getCompletions doc (Position 1 13)
4940-
--
4941-
item <- getCompletionByLabel "ALocalModule" compls
4940+
let item = head $ filter ((== "ALocalModule") . (^. Lens.label)) compls
49424941
liftIO $ do
49434942
item ^. Lens.label @?= "ALocalModule",
49444943
testSession' "auto complete functions from qualified imports without alias" $ \dir-> do

0 commit comments

Comments
 (0)