File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ tests = testGroup "completions" [
46
46
resolved ^. insertTextFormat @?= Just Snippet
47
47
resolved ^. insertText @?= Just " putStrLn ${1:String}"
48
48
49
- , testCase " completes imports" $ runSession hlsCommand fullCaps " test/testdata/completion" $ do
49
+ , testCase " completes imports" $ runSession ( hlsCommand <> " --test " ) fullCaps " test/testdata/completion" $ do
50
50
doc <- openDoc " Completion.hs" " haskell"
51
51
52
- _ <- waitForDiagnostics
52
+ waitForKickDone
53
53
54
54
let te = TextEdit (Range (Position 1 17 ) (Position 1 26 )) " Data.M"
55
55
_ <- applyEdit doc te
@@ -61,10 +61,10 @@ tests = testGroup "completions" [
61
61
item ^. detail @?= Just " Data.Maybe"
62
62
item ^. kind @?= Just CiModule
63
63
64
- , testCase " completes qualified imports" $ runSession hlsCommand fullCaps " test/testdata/completion" $ do
64
+ , testCase " completes qualified imports" $ runSession ( hlsCommand <> " --test " ) fullCaps " test/testdata/completion" $ do
65
65
doc <- openDoc " Completion.hs" " haskell"
66
66
67
- _ <- waitForDiagnostics
67
+ _ <- waitForKickDone
68
68
69
69
let te = TextEdit (Range (Position 2 17 ) (Position 2 25 )) " Data.L"
70
70
_ <- applyEdit doc te
You can’t perform that action at this time.
0 commit comments