lsp-test 0.5.1.1 → 0.5.1.2
raw patch · 2 files changed
+8/−8 lines, 2 filesdep ~haskell-lspPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: haskell-lsp
API changes (from Hackage documentation)
Files
- lsp-test.cabal +7/−7
- src/Language/Haskell/LSP/Test.hs +1/−1
lsp-test.cabal view
@@ -1,20 +1,20 @@ name: lsp-test-version: 0.5.1.1+version: 0.5.1.2 synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against <https://microsoft.github.io/language-server-protocol/ Language Server Protocol servers>. @Language.Haskell.LSP.Test@ launches your server as a subprocess and allows you to simulate a session down to the wire, and @Language.Haskell.LSP.Test@ can replay captured sessions from- <haskell-lsp-test https://hackage.haskell.org/package/haskell-lsp>.+ <haskell-lsp https://hackage.haskell.org/package/haskell-lsp>. It's currently used for testing in <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>.-homepage: https://github.com/Bubba/haskell-lsp-test#readme+homepage: https://github.com/bubba/lsp-test#readme license: BSD3 license-file: LICENSE author: Luke Lau maintainer: luke_lau@icloud.com stability: experimental-bug-reports: https://github.com/Bubba/haskell-lsp-test/issues+bug-reports: https://github.com/bubba/lsp-test/issues copyright: 2019 Luke Lau category: Testing build-type: Simple@@ -25,7 +25,7 @@ source-repository head type: git- location: https://github.com/Bubba/haskell-lsp-test/+ location: https://github.com/bubba/haskell-lsp-test/ library hs-source-dirs: src@@ -36,7 +36,7 @@ , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.10 && < 5- , haskell-lsp >= 0.8 && < 0.10+ , haskell-lsp >= 0.8 && < 0.11 , aeson , aeson-pretty , ansi-terminal@@ -78,7 +78,7 @@ build-depends: base >= 4.10 && < 5 , hspec , lens- , haskell-lsp >= 0.8 && < 0.10+ , haskell-lsp >= 0.8 && < 0.11 , lsp-test , data-default , aeson
src/Language/Haskell/LSP/Test.hs view
@@ -449,7 +449,7 @@ caps <- asks sessionCapabilities let supportsDocChanges = fromMaybe False $ do- let C.ClientCapabilities mWorkspace _ _ = caps+ let mWorkspace = C._workspace caps C.WorkspaceClientCapabilities _ mEdit _ _ _ _ _ _ <- mWorkspace C.WorkspaceEditClientCapabilities mDocChanges <- mEdit mDocChanges