File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ tests = testGroup "code actions"
26
26
-- TODO: move these tests to hls-refactor-plugin
27
27
importQualifiedTests :: TestTree
28
28
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
30
30
doc <- openDoc " CodeActionImportQualified.hs" " haskell"
31
31
(diag: _) <- waitForDiagnosticsFrom doc
32
32
liftIO $ diag ^. L. message @?=
@@ -52,7 +52,7 @@ importQualifiedTests = testGroup "import qualified prefix suggestions" [
52
52
-- TODO: move these tests to ghcide, or the plugin that provides this code action.
53
53
importQualifiedPostTests :: TestTree
54
54
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
56
56
doc <- openDoc " CodeActionImportPostQualified.hs" " haskell"
57
57
(diag: _) <- waitForDiagnosticsFrom doc
58
58
liftIO $ diag ^. L. message @?=
You can’t perform that action at this time.
0 commit comments