Skip to content

Commit 19d2b23

Browse files
committed
Remove unused config change
1 parent 7b5b7ac commit 19d2b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/FunctionalCodeAction.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tests = testGroup "code actions"
2626
-- TODO: move these tests to hls-refactor-plugin
2727
importQualifiedTests :: TestTree
2828
importQualifiedTests = testGroup "import qualified prefix suggestions" [
29-
testCase "qualified import works with 3.8 code action kinds" $ runSessionWithConfig (def {lspConfig = hlsConfigToClientConfig testConfig}) hlsCommand fullCaps "test/testdata" $ do
29+
testCase "qualified import works with 3.8 code action kinds" $ runSessionWithConfig def hlsCommand fullCaps "test/testdata" $ do
3030
doc <- openDoc "CodeActionImportQualified.hs" "haskell"
3131
(diag:_) <- waitForDiagnosticsFrom doc
3232
liftIO $ diag ^. L.message @?=
@@ -52,7 +52,7 @@ importQualifiedTests = testGroup "import qualified prefix suggestions" [
5252
-- TODO: move these tests to ghcide, or the plugin that provides this code action.
5353
importQualifiedPostTests :: TestTree
5454
importQualifiedPostTests = testGroup "import qualified postfix suggestions" [
55-
testCase "qualified import in postfix position works with 3.8 code action kinds" $ runSessionWithConfig (def {lspConfig = hlsConfigToClientConfig testConfig}) hlsCommand fullCaps "test/testdata" $ do
55+
testCase "qualified import in postfix position works with 3.8 code action kinds" $ runSessionWithConfig def hlsCommand fullCaps "test/testdata" $ do
5656
doc <- openDoc "CodeActionImportPostQualified.hs" "haskell"
5757
(diag:_) <- waitForDiagnosticsFrom doc
5858
liftIO $ diag ^. L.message @?=

0 commit comments

Comments
 (0)