Skip to content

Commit e75c63d

Browse files
committed
simplify test messages
1 parent bb7a03c commit e75c63d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

haskell-language-server.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ test-suite func-test
523523
, lens
524524
, lens-aeson
525525
, ghcide
526+
, ghcide-test-utils
526527
, hls-test-utils ^>=1.4
527528
, lsp-types
528529
, aeson

test/functional/FunctionalCodeAction.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import qualified Language.LSP.Types.Lens as L
1818
import Test.Hls
1919
import Test.Hspec.Expectations
2020

21+
import Development.IDE.Test (configureCheckProject)
2122
import Test.Hls.Command
2223

2324
{-# ANN module ("HLint: ignore Reduce duplication"::String) #-}
@@ -52,6 +53,7 @@ renameTests = testGroup "rename suggestions" [
5253

5354
, testCase "doesn't give both documentChanges and changes"
5455
$ runSession hlsCommand noLiteralCaps "test/testdata" $ do
56+
configureCheckProject False
5557
doc <- openDoc "CodeActionRename.hs" "haskell"
5658

5759
_ <- waitForDiagnosticsFromSource doc "typecheck"

0 commit comments

Comments
 (0)