Index: pkg/analyzer/test/src/context/cache_test.dart |
diff --git a/pkg/analyzer/test/src/context/cache_test.dart b/pkg/analyzer/test/src/context/cache_test.dart |
index fca2cbdc2aabaedb8ec3dbb40b9792cf3961e373..39e3cf6dbf0b24cae6b7b3b2e0d4fec29c4ac188 100644 |
--- a/pkg/analyzer/test/src/context/cache_test.dart |
+++ b/pkg/analyzer/test/src/context/cache_test.dart |
@@ -70,7 +70,7 @@ class AnalysisCacheTest extends AbstractCacheTest { |
expect(cache.getValue(target, resultA), 'a'); |
expect(cache.getValue(target, resultB), 'b'); |
// flush A |
- cache.flush((target) => true, (target, result) => result == resultA); |
+ cache.flush((target, result) => result == resultA); |
expect(cache.getState(target, resultA), CacheState.FLUSHED); |
expect(cache.getState(target, resultB), CacheState.VALID); |
expect(cache.getValue(target, resultA), isNull); |
@@ -336,7 +336,7 @@ class CacheEntryTest extends AbstractCacheTest { |
expect(entry.getValue(resultA), 'a'); |
expect(entry.getValue(resultB), 'b'); |
// flush A |
- entry.flush((target) => true, (target, result) => result == resultA); |
+ entry.flush((target, result) => result == resultA); |
expect(entry.getState(resultA), CacheState.FLUSHED); |
expect(entry.getState(resultB), CacheState.VALID); |
expect(entry.getValue(resultA), isNull); |