| 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 daf0b7562908fe2128439152943e1f30f2ead3e9..42b91f85e78ca393d0269d2ddfe8e6fc783ab9ee 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, result) {
|
| + context.analysisCache.flush((target) => true, (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, result) {
|
| + context.analysisCache.flush((target) => true, (target, result) {
|
| if (target.source == source) {
|
| if (target.source == source) {
|
| return RESOLVED_UNIT_RESULTS.contains(result);
|
|
|