Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Update test/exe/Main.hs
Browse files Browse the repository at this point in the history
Co-Authored-By: Moritz Kiefer <[email protected]>
  • Loading branch information
pepeiborra and cocreature authored Jan 10, 2020
1 parent d074a39 commit a2dace8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,9 @@ findCodeActions doc range expectedTitles = do
]
++ "is not a superset of "
++ show expectedTitles
liftIO $ assertBool msg (isJust matches)
case matches of
Nothing -> assertFailure msg
Just matches -> pure matches
return (fromJust matches)

findCodeAction :: TextDocumentIdentifier -> Range -> T.Text -> Session CodeAction
Expand Down

0 comments on commit a2dace8

Please sign in to comment.