projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b9c9c7d
)
Fix exception throwing test
author
Luke Lau
<luke_lau@icloud.com>
Sat, 27 Feb 2021 16:17:40 +0000
(16:17 +0000)
committer
Luke Lau
<luke_lau@icloud.com>
Sat, 27 Feb 2021 16:17:40 +0000
(16:17 +0000)
test/Test.hs
patch
|
blob
|
history
diff --git
a/test/Test.hs
b/test/Test.hs
index b87d2f617220745e0a6a996ffd869d205c5a8440..e5bf5ec1da48d40765b62c86369dd2e06f3fa07e 100644
(file)
--- a/
test/Test.hs
+++ b/
test/Test.hs
@@
-118,7
+118,7
@@
main = findServer >>= \serverExe -> hspec $ do
selector _ = False
in runSession serverExe fullCaps "test/data/renamePass" publishDiagnosticsNotification `shouldThrow` selector
it "provides the correct types that were expected and received" $
selector _ = False
in runSession serverExe fullCaps "test/data/renamePass" publishDiagnosticsNotification `shouldThrow` selector
it "provides the correct types that were expected and received" $
- let selector (UnexpectedMessage "STextDocumentRename" (FromServerRsp STextDocumentDocumentSymbol _)) = True
+ let selector (UnexpectedMessage "
Response for:
STextDocumentRename" (FromServerRsp STextDocumentDocumentSymbol _)) = True
selector _ = False
sesh = do
doc <- openDoc "Desktop/simple.hs" "haskell"
selector _ = False
sesh = do
doc <- openDoc "Desktop/simple.hs" "haskell"