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

Commit

Permalink
Fix expectNoMoreDiagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Sep 6, 2020
1 parent 3999c3e commit 1972d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/Development/IDE/Test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ expectNoMoreDiagnostics timeout = do
"Got unexpected diagnostics for " <> show fileUri <>
" got " <> show actual
handleCustomMethodResponse =
-- the CustomClientMethod triggers a log message about ignoring it
-- the CustomClientMethod triggers a RspCustomServer
-- handle that and then exit
void (LspTest.message :: Session LogMessageNotification)
void (LspTest.message :: Session CustomResponse)
ignoreOthers = void anyMessage >> handleMessages

expectDiagnostics :: [(FilePath, [(DiagnosticSeverity, Cursor, T.Text)])] -> Session ()
Expand Down

0 comments on commit 1972d71

Please sign in to comment.