lsp-test 0.11.0.6 → 0.11.0.7
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- lsp-test.cabal +4/−4
- test/dummy-server/Main.hs +1/−1
lsp-test.cabal view
@@ -1,5 +1,5 @@ name: lsp-test-version: 0.11.0.6+version: 0.11.0.7 synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against@@ -42,7 +42,7 @@ , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.10 && < 5- , haskell-lsp >= 0.22 && < 0.23+ , haskell-lsp >= 0.22 && < 0.24 , aeson , aeson-pretty , ansi-terminal@@ -82,7 +82,7 @@ hs-source-dirs: test/dummy-server ghc-options: -W build-depends: base >= 4.10 && < 5- , haskell-lsp+ , haskell-lsp >= 0.23 && < 0.24 , data-default , aeson , unordered-containers@@ -101,7 +101,7 @@ build-depends: base >= 4.10 && < 5 , hspec , lens- , haskell-lsp >= 0.22 && < 0.23+ , haskell-lsp >= 0.22 && < 0.24 , lsp-test , data-default , aeson
test/dummy-server/Main.hs view
@@ -112,7 +112,7 @@ , completionHandler = pure $ \req -> do let res = CompletionList (CompletionListType False (List [item])) item =- CompletionItem "foo" (Just CiConstant) (List []) Nothing+ CompletionItem "foo" (Just CiConstant) (Just (List [])) Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing send $ RspCompletion $ makeResponseMessage req res