File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
flutter_cache_manager/test Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -489,8 +489,7 @@ void main() {
489
489
var fileUrl = 'baseflow.com/test' ;
490
490
491
491
var store = MockCacheStore ();
492
- when (store.putFile (argThat (anything)))
493
- .thenAnswer ((_) => Future .value ());
492
+ when (store.putFile (argThat (anything))).thenAnswer ((_) => Future .value ());
494
493
495
494
when (store.getFile (fileUrl)).thenAnswer ((_) => Future .value (null ));
496
495
Original file line number Diff line number Diff line change @@ -231,8 +231,7 @@ void main() {
231
231
232
232
MockCacheStore _createStore (Config config) {
233
233
final store = MockCacheStore ();
234
- when (store.putFile (argThat (anything)))
235
- .thenAnswer ((_) => Future .value ());
234
+ when (store.putFile (argThat (anything))).thenAnswer ((_) => Future .value ());
236
235
when (store.retrieveCacheData (argThat (anything)))
237
236
.thenAnswer ((invocation) => Future .value (CacheObject (
238
237
invocation.positionalArguments.first as String ,
You can’t perform that action at this time.
0 commit comments