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 committed Jan 11, 2020
1 parent e291a7a commit dfb85f7
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 @@ -1612,7 +1612,9 @@ findCodeActions doc range expectedTitles = do
]
++ "is not a superset of "
++ show expectedTitles
liftIO $ assertBool msg (isJust matches)
liftIO $ case matches of
Nothing -> assertFailure msg
Just _ -> pure ()
return (fromJust matches)

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

0 comments on commit dfb85f7

Please sign in to comment.