projects
/
opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
57bc413
)
Fix tests
author
Luke Lau
<luke_lau@icloud.com>
Wed, 27 Jun 2018 23:46:48 +0000
(
00:46
+0100)
committer
Luke Lau
<luke_lau@icloud.com>
Wed, 27 Jun 2018 23:46:48 +0000
(
00:46
+0100)
test/Test.hs
patch
|
blob
|
history
diff --git
a/test/Test.hs
b/test/Test.hs
index c6ef7e29e90ca44e6ad592e379aa7f3ef64579f7..79bb30312668857a68322a99a3ad46a34896015f 100644
(file)
--- a/
test/Test.hs
+++ b/
test/Test.hs
@@
-29,7
+29,7
@@
main = hspec $ do
noDiagnostics
noDiagnostics
- rspSymbols <-
d
ocumentSymbols doc
+ rspSymbols <-
getD
ocumentSymbols doc
liftIO $ do
let (List symbols) = fromJust (rspSymbols ^. result)
liftIO $ do
let (List symbols) = fromJust (rspSymbols ^. result)
@@
-102,7
+102,7
@@
main = hspec $ do
noDiagnostics
noDiagnostics
- rspSymbols <-
d
ocumentSymbols doc
+ rspSymbols <-
getD
ocumentSymbols doc
let (List symbols) = fromJust (rspSymbols ^. result)
fooSymbol = head symbols
let (List symbols) = fromJust (rspSymbols ^. result)
fooSymbol = head symbols
@@
-148,7
+148,7
@@
main = hspec $ do
skipMany anyNotification
_ <- response :: Session ExecuteCommandResponse
skipMany anyNotification
_ <- response :: Session ExecuteCommandResponse
- contents <-
d
ocumentEdit doc
+ contents <-
getD
ocumentEdit doc
liftIO $ contents `shouldBe` "main :: IO Int\nmain = return 42"
noDiagnostics
liftIO $ contents `shouldBe` "main :: IO Int\nmain = return 42"
noDiagnostics