| Index: pkg/unittest/lib/mock.dart
|
| diff --git a/pkg/unittest/lib/mock.dart b/pkg/unittest/lib/mock.dart
|
| index 2418d85217e5b5a009af400f799877d77091a786..d1a98d7dcc36962fbff20c585f48f4d649d009f6 100644
|
| --- a/pkg/unittest/lib/mock.dart
|
| +++ b/pkg/unittest/lib/mock.dart
|
| @@ -1461,7 +1461,7 @@ class Mock {
|
| if (name == null) { // This log is not shared.
|
| log.logs.clear();
|
| } else { // This log may be shared.
|
| - log.logs = log.logs.where((e) => e.mockName != name);
|
| + log.logs = log.logs.where((e) => e.mockName != name).toList();
|
| }
|
| }
|
| }
|
|
|