Skip to content

Commit 19d2882

Browse files
committed
Fix exception throwing test
1 parent 45de413 commit 19d2882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-test/test/Test.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ main = findServer >>= \serverExe -> hspec $ do
118118
selector _ = False
119119
in runSession serverExe fullCaps "test/data/renamePass" publishDiagnosticsNotification `shouldThrow` selector
120120
it "provides the correct types that were expected and received" $
121-
let selector (UnexpectedMessage "STextDocumentRename" (FromServerRsp STextDocumentDocumentSymbol _)) = True
121+
let selector (UnexpectedMessage "Response for: STextDocumentRename" (FromServerRsp STextDocumentDocumentSymbol _)) = True
122122
selector _ = False
123123
sesh = do
124124
doc <- openDoc "Desktop/simple.hs" "haskell"

0 commit comments

Comments
 (0)