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 @@ -5513,8 +5513,8 @@ simpleMultiTest2 = testCase "simple-multi-test2" $ runWithExtraFiles "multi" $ \
5513
5513
bPath = dir </> " b/B.hs"
5514
5514
bdoc <- openDoc bPath " haskell"
5515
5515
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" bdoc
5516
- adoc @ ( TextDocumentIdentifier auri) <- openDoc aPath " haskell"
5517
- WaitForIdeRuleResult {} <- waitForAction " TypeCheck " adoc
5516
+ TextDocumentIdentifier auri <- openDoc aPath " haskell"
5517
+ skipManyTill anyMessage $ isReferenceReady aPath
5518
5518
locs <- getDefinitions bdoc (Position 2 7 )
5519
5519
let fooL = mkL auri 2 0 2 3
5520
5520
checkDefs locs (pure [fooL])
@@ -5528,8 +5528,8 @@ simpleMultiTest3 = testCase "simple-multi-test3" $ runWithExtraFiles "multi" $ \
5528
5528
cPath = dir </> " c/C.hs"
5529
5529
bdoc <- openDoc bPath " haskell"
5530
5530
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" bdoc
5531
- adoc @ ( TextDocumentIdentifier auri) <- openDoc aPath " haskell"
5532
- WaitForIdeRuleResult {} <- waitForAction " TypeCheck " adoc
5531
+ TextDocumentIdentifier auri <- openDoc aPath " haskell"
5532
+ skipManyTill anyMessage $ isReferenceReady aPath
5533
5533
cdoc <- openDoc cPath " haskell"
5534
5534
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" cdoc
5535
5535
locs <- getDefinitions cdoc (Position 2 7 )
You can’t perform that action at this time.
0 commit comments