File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5504,8 +5504,8 @@ simpleMultiTest2 = testCase "simple-multi-test2" $ runWithExtraFiles "multi" $ \
5504
5504
bPath = dir </> " b/B.hs"
5505
5505
bdoc <- openDoc bPath " haskell"
5506
5506
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" bdoc
5507
- adoc @ ( TextDocumentIdentifier auri) <- openDoc aPath " haskell"
5508
- WaitForIdeRuleResult {} <- waitForAction " TypeCheck " adoc
5507
+ TextDocumentIdentifier auri <- openDoc aPath " haskell"
5508
+ skipManyTill anyMessage $ isReferenceReady aPath
5509
5509
locs <- getDefinitions bdoc (Position 2 7 )
5510
5510
let fooL = mkL auri 2 0 2 3
5511
5511
checkDefs locs (pure [fooL])
@@ -5519,8 +5519,8 @@ simpleMultiTest3 = testCase "simple-multi-test3" $ runWithExtraFiles "multi" $ \
5519
5519
cPath = dir </> " c/C.hs"
5520
5520
bdoc <- openDoc bPath " haskell"
5521
5521
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" bdoc
5522
- adoc @ ( TextDocumentIdentifier auri) <- openDoc aPath " haskell"
5523
- WaitForIdeRuleResult {} <- waitForAction " TypeCheck " adoc
5522
+ TextDocumentIdentifier auri <- openDoc aPath " haskell"
5523
+ skipManyTill anyMessage $ isReferenceReady aPath
5524
5524
cdoc <- openDoc cPath " haskell"
5525
5525
WaitForIdeRuleResult {} <- waitForAction " TypeCheck" cdoc
5526
5526
locs <- getDefinitions cdoc (Position 2 7 )
You can’t perform that action at this time.
0 commit comments