projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move example to separate cabal file
[lsp-test.git]
/
example
/
Test.hs
diff --git
a/example/Main.hs
b/example/Test.hs
similarity index 82%
rename from
example/Main.hs
rename to
example/Test.hs
index 1e2e3baf3356b36f6eb09967a02ce2e7fbd12c0a..0f5cdb46fea65960e8978677fb0d702cb30ae5e5 100644
(file)
--- a/
example/Main.hs
+++ b/
example/Test.hs
@@
-3,8
+3,8
@@
import Control.Monad.IO.Class
import Language.Haskell.LSP.Test
import Language.Haskell.LSP.Types
import Language.Haskell.LSP.Test
import Language.Haskell.LSP.Types
-main = runSession "hie --lsp" fullCaps "
test/data/renamePass
" $ do
- docItem <- openDoc "
Desktop/simpl
e.hs" "haskell"
+main = runSession "hie --lsp" fullCaps "
../test/data/
" $ do
+ docItem <- openDoc "
Renam
e.hs" "haskell"
-- Use your favourite favourite combinators.
skipManyTill loggingNotification (count 2 publishDiagnosticsNotification)
-- Use your favourite favourite combinators.
skipManyTill loggingNotification (count 2 publishDiagnosticsNotification)