X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=blobdiff_plain;f=test%2FTest.hs;h=2372cbefff91ebf9c2b6004a301d6cab0a1e5f63;hp=09f8b341b27d5c89fe57e2213c81b6f6b726dbb0;hb=8cd3d41fef5b055ee1c79e6d83858d70c599367b;hpb=2a96b8057517343244d3e716de0938dc4e6d7955 diff --git a/test/Test.hs b/test/Test.hs index 09f8b34..2372cbe 100644 --- 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 15 19)] -- Type definition + liftIO $ defs `shouldBe` [Location (doc ^. uri) (mkRange 10 0 14 19)] -- Type definition describe "waitForDiagnosticsSource" $ it "works" $ runSession "hie" fullCaps "test/data" $ do