Skip to content

Commit c501042

Browse files
author
kokobd
committed
use Null as dummy message in waitForDiagnosticsFromSourceWithTimeout
1 parent c89ccfd commit c501042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hls-test-utils/src/Test/Hls/Util.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ waitForDiagnosticsFromSourceWithTimeout timeout document source = do
320320
-- Send a dummy message to provoke a response from the server.
321321
-- This guarantees that we have at least one message to
322322
-- process, so message won't block or timeout.
323-
testId <- Test.sendRequest (SCustomMethod "test") (A.toJSON GetFilesOfInterest)
323+
testId <- Test.sendRequest (SCustomMethod "test") A.Null
324324
handleMessages testId
325325
where
326326
matches :: Diagnostic -> Bool

0 commit comments

Comments
 (0)