Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Use lsp-test-0.11
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 15, 2020
1 parent 5ac6e20 commit 5db043d
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 121 deletions.
2 changes: 1 addition & 1 deletion 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
7 changes: 6 additions & 1 deletion hie.yaml
@@ -1 +1,6 @@
cradle: {stack: {component: "ghcide:lib"}}
cradle:
stack:
- path: "test"
component: "ghcide:test:ghcide-tests"
- path: "src"
component: "ghcide:lib"
2 changes: 1 addition & 1 deletion 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
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
215 changes: 100 additions & 115 deletions test/exe/Main.hs

Large diffs are not rendered by default.

0 comments on commit 5db043d

Please sign in to comment.