Skip to content

Migrate ClientSettingsTests #4258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ghcide/test/exe/ClientSettingsTests.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{-# LANGUAGE GADTs #-}
module ClientSettingsTests (tests) where

import Config (lspTestCaps, testWithConfig)
import Config (lspTestCaps, testWithConfig,
testWithDummyPluginEmpty)
import Control.Applicative.Combinators
import Control.Monad
import Data.Aeson (toJSON)
Expand All @@ -18,11 +19,10 @@ import Language.LSP.Test
import Test.Hls (testConfigCaps,
waitForProgressDone)
import Test.Tasty
import TestUtils

tests :: TestTree
tests = testGroup "client settings handling"
[ testWithConfig "ghcide restarts shake session on config changes" def {testConfigCaps = lspTestCaps} $ do
[ testWithDummyPluginEmpty "ghcide restarts shake session on config changes" $ do
setIgnoringLogNotifications False
void $ createDoc "A.hs" "haskell" "module A where"
waitForProgressDone
Expand Down
Loading