| Index: test/observe_test_utils.dart
|
| diff --git a/test/observe_test_utils.dart b/test/observe_test_utils.dart
|
| index 46d1b4646492e921e9947f60e41935df9f9e6384..31f2e9d515ed7b921606061ed377e770f73839ba 100644
|
| --- a/test/observe_test_utils.dart
|
| +++ b/test/observe_test_utils.dart
|
| @@ -42,8 +42,10 @@ newMicrotask(_) => new Future.value();
|
| expectChanges(actual, expected, {reason}) =>
|
| expect('$actual', '$expected', reason: reason);
|
|
|
| -List getListChangeRecords(List changes, int index) => changes
|
| - .where((c) => c.indexChanged(index)).toList();
|
| +List<ListChangeRecord> getListChangeRecords(List changes, int index) =>
|
| + new List.from(changes.where((c) => c.indexChanged(index)));
|
|
|
| -List getPropertyChangeRecords(List changes, Symbol property) => changes
|
| - .where((c) => c is PropertyChangeRecord && c.name == property).toList();
|
| +List<PropertyChangeRecord> getPropertyChangeRecords(
|
| + List changes, Symbol property) =>
|
| + new List.from(
|
| + changes.where((c) => c is PropertyChangeRecord && c.name == property));
|
|
|