| Index: pkg/analyzer/test/src/context/context_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
|
| index 456d3ed53dcf8c867445b8b377c237e4370efbb5..0634ba10fb445b6132216fb692da6e1b6f5a9914 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -1122,7 +1122,7 @@ import 'dart:async';
|
| context.applyChanges(new ChangeSet()..addedSource(source));
|
| context.resolveCompilationUnit2(source, source);
|
| // Flush all results units.
|
| - context.analysisCache.flush((target) => true, (target, result) {
|
| + context.analysisCache.flush((target, result) {
|
| if (target.source == source) {
|
| return RESOLVED_UNIT_RESULTS.contains(result);
|
| }
|
| @@ -1148,7 +1148,7 @@ main() {}
|
| context.applyChanges(new ChangeSet()..addedSource(source));
|
| context.resolveCompilationUnit2(source, source);
|
| // Flush all results units.
|
| - context.analysisCache.flush((target) => true, (target, result) {
|
| + context.analysisCache.flush((target, result) {
|
| if (target.source == source) {
|
| if (target.source == source) {
|
| return RESOLVED_UNIT_RESULTS.contains(result);
|
|
|