Skip to content

Commit

Permalink
Use lsp-test-0.11 (haskell/ghcide#566)
Browse files Browse the repository at this point in the history
Replace openDoc' with createDoc which sends out
workspace/didChangedWatchedFiles notifications
  • Loading branch information
lukel97 committed May 17, 2020
1 parent 563edb9 commit f40bfc9
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 121 deletions.
2 changes: 1 addition & 1 deletion ghcide/ghcide.cabal
Expand Up @@ -263,7 +263,7 @@ test-suite ghcide-tests
haskell-lsp-types,
network-uri,
lens,
lsp-test >= 0.8,
lsp-test >= 0.11.0.1 && < 0.12,
parser-combinators,
QuickCheck,
quickcheck-instances,
Expand Down
2 changes: 1 addition & 1 deletion ghcide/stack.yaml
Expand Up @@ -4,7 +4,7 @@ packages:
extra-deps:
- haskell-lsp-0.22.0.0
- haskell-lsp-types-0.22.0.0
- lsp-test-0.10.3.0
- lsp-test-0.11.0.1
- hie-bios-0.4.0
- fuzzy-0.1.0.0
- regex-pcre-builtin-0.95.1.1.8.43
Expand Down
215 changes: 100 additions & 115 deletions ghcide/test/exe/Main.hs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ghcide/test/src/Development/IDE/Test.hs
Expand Up @@ -19,7 +19,7 @@ import Control.Monad.IO.Class
import Data.Foldable
import qualified Data.Map.Strict as Map
import qualified Data.Text as T
import Language.Haskell.LSP.Test hiding (message, openDoc')
import Language.Haskell.LSP.Test hiding (message)
import qualified Language.Haskell.LSP.Test as LspTest
import Language.Haskell.LSP.Types
import Language.Haskell.LSP.Types.Lens as Lsp
Expand Down
2 changes: 1 addition & 1 deletion stack810.yaml
Expand Up @@ -6,7 +6,7 @@ packages:
extra-deps:
- haskell-lsp-0.22.0.0
- haskell-lsp-types-0.22.0.0
- lsp-test-0.10.3.0
- lsp-test-0.11.0.1
- ghc-check-0.3.0.1

# for ghc-8.10
Expand Down
2 changes: 1 addition & 1 deletion stack84.yaml
Expand Up @@ -7,7 +7,7 @@ extra-deps:
- base-orphans-0.8.2
- haskell-lsp-0.22.0.0
- haskell-lsp-types-0.22.0.0
- lsp-test-0.10.3.0
- lsp-test-0.11.0.1
- rope-utf16-splay-0.3.1.0
- filepattern-0.1.1
- js-dgtable-0.5.2
Expand Down
2 changes: 1 addition & 1 deletion stack88.yaml
Expand Up @@ -4,7 +4,7 @@ packages:
extra-deps:
- haskell-lsp-0.22.0.0
- haskell-lsp-types-0.22.0.0
- lsp-test-0.10.3.0
- lsp-test-0.11.0.1
- ghc-check-0.3.0.1

nix:
Expand Down

0 comments on commit f40bfc9

Please sign in to comment.