projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a96b80
)
Fix getTypeDefinitions test
author
Luke Lau
<luke_lau@icloud.com>
Sun, 5 May 2019 21:31:25 +0000
(22:31 +0100)
committer
GitHub
<noreply@github.com>
Sun, 5 May 2019 21:31:25 +0000
(22:31 +0100)
test/Test.hs
patch
|
blob
|
history
diff --git
a/test/Test.hs
b/test/Test.hs
index 09f8b341b27d5c89fe57e2213c81b6f6b726dbb0..2372cbefff91ebf9c2b6004a301d6cab0a1e5f63 100644
(file)
--- a/
test/Test.hs
+++ b/
test/Test.hs
@@
-264,7
+264,7
@@
main = hspec $ do
doc <- openDoc "Desktop/simple.hs" "haskell"
let pos = Position 20 23 -- Quit value
defs <- getTypeDefinitions doc pos
- liftIO $ defs `shouldBe` [Location (doc ^. uri) (mkRange 10 0 1
5
19)] -- Type definition
+ liftIO $ defs `shouldBe` [Location (doc ^. uri) (mkRange 10 0 1
4
19)] -- Type definition
describe "waitForDiagnosticsSource" $
it "works" $ runSession "hie" fullCaps "test/data" $ do