Skip to content

Commit

Permalink
Version 3.4.0-17.0.dev
Browse files Browse the repository at this point in the history
Merge 89bd370 into dev
  • Loading branch information
Dart CI committed Jan 11, 2024
2 parents 3245b92 + 89bd370 commit 7f3ea1c
Show file tree
Hide file tree
Showing 7 changed files with 1,492 additions and 748 deletions.
7 changes: 7 additions & 0 deletions pkg/analysis_server/test/integration/analysis/error_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ void f() {
await sendServerSetSubscriptions([ServerService.STATUS]);
await sendAnalysisUpdateContent({filePath: AddContentOverlay(content)});
await sendAnalysisSetAnalysisRoots([packagePath], []);

await analysisFinished;

// TODO(scheglov): https://github.com/dart-lang/sdk/issues/54577
// `await analysisFinished` should be enough, but was not promised.
while (currentAnalysisErrors[filePath] == null) {
await pumpEventQueue();
}

expect(currentAnalysisErrors[filePath], isList);
var errors = existingErrorsForFile(filePath);
expect(errors, hasLength(1));
Expand Down
Loading

0 comments on commit 7f3ea1c

Please sign in to comment.