| 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 787c1bb0c227e1d7168d52daa553a937343f66cf..af84f24c6b3a9bbd4e66eecb185f0b5780f50e23 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -1586,7 +1586,11 @@ void g() { f(null); }''');
|
| _changeSource(source, "");
|
| source.generateExceptionOnRead = true;
|
| _analyzeAll_assertFinished();
|
| - expect(source.readCount, 5);
|
| + if (AnalysisEngine.instance.limitInvalidationInTaskModel) {
|
| + expect(source.readCount, 5);
|
| + } else {
|
| + expect(source.readCount, 3);
|
| + }
|
| }
|
|
|
| void test_performAnalysisTask_missingPart() {
|
|
|