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.
1 parent b138242 commit e5898dbCopy full SHA for e5898db
test/functional/FunctionalCodeAction.hs
@@ -624,7 +624,7 @@ disableWarningTests =
624
<&> \(warning, initialContent, expectedContent) -> testSession (T.unpack warning) $ do
625
doc <- createDoc "Module.hs" "haskell" initialContent
626
_ <- waitForDiagnostics
627
- codeActs <- mapMaybe caResultToCodeAct <$> getCodeActions doc (Range (Position 0 0) (Position 0 0))
+ codeActs <- mapMaybe caResultToCodeAct <$> getAllCodeActions doc
628
case find (\CodeAction{_title} -> _title == "Disable \"" <> warning <> "\" warnings") codeActs of
629
Nothing -> liftIO $ assertFailure "No code action with expected title"
630
Just action -> do
0 commit comments