Lazy cache 5: The Empire Strikes Back (#29986)

This commit is contained in:
Jonah Williams
2019-03-27 13:54:09 -07:00
committed by GitHub
parent 7f3485e388
commit 7d678f2adc
12 changed files with 374 additions and 191 deletions

View File

@@ -42,7 +42,7 @@ void main() {
testUsingContext('honors shouldUpdateCache true', () async {
final DummyFlutterCommand flutterCommand = DummyFlutterCommand(shouldUpdateCache: true);
await flutterCommand.run();
verify(cache.updateAll()).called(1);
verify(cache.updateAll(any)).called(1);
},
overrides: <Type, Generator>{
Cache: () => cache,