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" $ \
55045504 bPath = dir </> " b/B.hs"
55055505 bdoc <- openDoc bPath " haskell"
55065506 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
55095509 locs <- getDefinitions bdoc (Position 2 7 )
55105510 let fooL = mkL auri 2 0 2 3
55115511 checkDefs locs (pure [fooL])
@@ -5519,8 +5519,8 @@ simpleMultiTest3 = testCase "simple-multi-test3" $ runWithExtraFiles "multi" $ \
55195519 cPath = dir </> " c/C.hs"
55205520 bdoc <- openDoc bPath " haskell"
55215521 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
55245524 cdoc <- openDoc cPath " haskell"
55255525 WaitForIdeRuleResult {} <- waitForAction " TypeCheck" cdoc
55265526 locs <- getDefinitions cdoc (Position 2 7 )
You can’t perform that action at this time.
0 commit comments