We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a55a8d + e207023 commit f766476Copy full SHA for f766476
test/functional/Tactic.hs
@@ -122,6 +122,7 @@ mkTest name fp line col ts =
122
testCase name $ do
123
runSession hlsCommand fullCaps tacticPath $ do
124
doc <- openDoc fp "haskell"
125
+ _ <- waitForDiagnostics
126
actions <- getCodeActions doc $ pointRange line col
127
let titles = mapMaybe codeActionTitle actions
128
for_ ts $ \(f, tc, var) -> do
@@ -136,6 +137,7 @@ goldenTest input line col tc occ =
136
137
testCase (input <> " (golden)") $ do
138
139
doc <- openDoc input "haskell"
140
141
142
Just (CACodeAction (CodeAction {_command = Just c}))
143
<- pure $ find ((== Just (tacticTitle tc occ)) . codeActionTitle) actions
0 commit comments