Skip to content

Commit e5898db

Browse files
committed
fix func-test
1 parent b138242 commit e5898db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/FunctionalCodeAction.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ disableWarningTests =
624624
<&> \(warning, initialContent, expectedContent) -> testSession (T.unpack warning) $ do
625625
doc <- createDoc "Module.hs" "haskell" initialContent
626626
_ <- waitForDiagnostics
627-
codeActs <- mapMaybe caResultToCodeAct <$> getCodeActions doc (Range (Position 0 0) (Position 0 0))
627+
codeActs <- mapMaybe caResultToCodeAct <$> getAllCodeActions doc
628628
case find (\CodeAction{_title} -> _title == "Disable \"" <> warning <> "\" warnings") codeActs of
629629
Nothing -> liftIO $ assertFailure "No code action with expected title"
630630
Just action -> do

0 commit comments

Comments
 (0)