From 8cd3d41fef5b055ee1c79e6d83858d70c599367b Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Sun, 5 May 2019 22:31:25 +0100 Subject: [PATCH] Fix getTypeDefinitions test --- test/Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2