Index: pkg/analyzer/test/src/task/dart_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
index 3fecdd141ba8332f1e005dc9591d638811fd3616..f39d8f9ef0ccba4643e2e595868454e6c60b4520 100644 |
--- a/pkg/analyzer/test/src/task/dart_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_test.dart |
@@ -2913,6 +2913,13 @@ part 'test.dart'; |
expect(outputs[UNITS], hasLength(1)); |
} |
+ test_perform_flushTokenStream() { |
+ _performParseTask(r''' |
+class Test {} |
+'''); |
+ expect(analysisCache.getState(source, TOKEN_STREAM), CacheState.FLUSHED); |
+ } |
+ |
test_perform_invalidDirectives() { |
_performParseTask(r''' |
library lib; |