lsp-test 0.11.0.4 → 0.11.0.5
raw patch · 2 files changed
+2/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
lsp-test.cabal view
@@ -1,5 +1,5 @@ name: lsp-test-version: 0.11.0.4+version: 0.11.0.5 synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against
src/Language/Haskell/LSP/Test/Decoding.hs view
@@ -116,6 +116,7 @@ TextDocumentDocumentLink -> RspDocumentLink . decoded DocumentLinkResolve -> RspDocumentLinkResolve . decoded TextDocumentWillSaveWaitUntil -> RspWillSaveWaitUntil . decoded+ CustomClientMethod{} -> RspCustomServer . decoded x -> error . ((show x ++ " is not a request: ") ++) . show where decoded x = fromMaybe (error $ "Couldn't decode response for the request type: " ++ show req ++ "\n" ++ show x)