projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update haskell-lsp
[lsp-test.git]
/
src
/
Language
/
Haskell
/
LSP
/
Test.hs
diff --git
a/src/Language/Haskell/LSP/Test.hs
b/src/Language/Haskell/LSP/Test.hs
index 1b24fb74d11abea61c24c0b7e4f45bfd6b075419..696f84aa4df05bae70d411feb75675de2f2a076e 100644
(file)
--- a/
src/Language/Haskell/LSP/Test.hs
+++ b/
src/Language/Haskell/LSP/Test.hs
@@
-108,7
+108,7
@@
import Language.Haskell.LSP.Test.Server
import System.IO
import System.Directory
import System.FilePath
import System.IO
import System.Directory
import System.FilePath
-import qualified
Yi.Rope
as Rope
+import qualified
Data.Rope.UTF16
as Rope
-- | Starts a new session.
--
-- | Starts a new session.
--
@@
-351,7
+351,7
@@
waitForDiagnosticsSource src = do
matches d = d ^. source == Just (T.pack src)
-- | Expects a 'PublishDiagnosticsNotification' and throws an
matches d = d ^. source == Just (T.pack src)
-- | Expects a 'PublishDiagnosticsNotification' and throws an
--- 'UnexpectedDiagnostics
Exception'
if there are any diagnostics
+-- 'UnexpectedDiagnostics
' exception
if there are any diagnostics
-- returned.
noDiagnostics :: Session ()
noDiagnostics = do
-- returned.
noDiagnostics :: Session ()
noDiagnostics = do