packages feed

lsp-test 0.10.0.0 → 0.10.1.0

raw patch · 3 files changed

+10/−6 lines, 3 filesdep ~haskell-lspPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: haskell-lsp

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for lsp-test +## 0.10.1.0 -- 2019-02-04++* Bump constraints for new haskell-lsp+ ## 0.10.0.0 -- 2019-12-29  * Account for messages received between the initialize request and response.
README.md view
@@ -3,7 +3,7 @@  ```haskell import Language.Haskell.LSP.Test-runSession "hie" fullCaps "proj/dir" $ do+main = runSession "hie" fullCaps "proj/dir" $ do   doc <- openDoc "Foo.hs" "haskell"   skipMany anyNotification   symbols <- getDocumentSymbols doc@@ -34,7 +34,7 @@ anyRequest <|> anyResponse ``` -Try out the example tests in the `example` directory with `cabal new-test`.+Try out the example tests in the `example` directory with `cabal test`. For more examples check the [Wiki](https://github.com/bubba/lsp-test/wiki/Introduction)  ## Developing@@ -45,7 +45,7 @@ ### [javascript-typescript-langserver](https://github.com/sourcegraph/javascript-typescript-langserver) `npm i -g javascript-typescript-langserver` -Then run the tests with `stack test` or `cabal new-test`.+Then run the tests with `cabal test` or `stack test`.  ## Troubleshooting Seeing funny stuff when running lsp-test via stack? If your server is built upon Haskell tooling, [keep in mind that stack sets some environment variables related to GHC, and you may want to unset them.](https://github.com/alanz/haskell-ide-engine/blob/bfb16324d396da71000ef81d51acbebbdaa854ab/test/utils/TestUtils.hs#L290-L298)
lsp-test.cabal view
@@ -1,5 +1,5 @@ name:                lsp-test-version:             0.10.0.0+version:             0.10.1.0 synopsis:            Functional test framework for LSP servers. description:   A test framework for writing tests against@@ -35,7 +35,7 @@                      , parser-combinators:Control.Applicative.Combinators   default-language:    Haskell2010   build-depends:       base >= 4.10 && < 5-                     , haskell-lsp == 0.19.*+                     , haskell-lsp >= 0.19 && < 0.21                      , aeson                      , aeson-pretty                      , ansi-terminal@@ -77,7 +77,7 @@   build-depends:       base >= 4.10 && < 5                      , hspec                      , lens-                     , haskell-lsp == 0.19.*+                     , haskell-lsp >= 0.19 && < 0.21                      , lsp-test                      , data-default                      , aeson