| Index: pkg/unittest/lib/src/iterable_matchers.dart
|
| diff --git a/pkg/unittest/lib/src/iterable_matchers.dart b/pkg/unittest/lib/src/iterable_matchers.dart
|
| index 047903bbaaabe8fddc5ec4d957a92ad122e85c0a..8bc302fc7fe7775d00f4778c0aeee2276ea5aa34 100644
|
| --- a/pkg/unittest/lib/src/iterable_matchers.dart
|
| +++ b/pkg/unittest/lib/src/iterable_matchers.dart
|
| @@ -156,8 +156,7 @@ abstract class _IterableMatcher extends Matcher {
|
| *
|
| * Note that this is `O(n^2)` and so should only be used on small objects.
|
| */
|
| -Matcher unorderedMatches(Iterable expected) =>
|
| - new _UnorderedMatches(expected);
|
| +Matcher unorderedMatches(Iterable expected) => new _UnorderedMatches(expected);
|
|
|
| class _UnorderedMatches extends Matcher {
|
| final List<Matcher> _expected;
|
| @@ -166,7 +165,7 @@ class _UnorderedMatches extends Matcher {
|
| : _expected = expected.map(wrapMatcher).toList();
|
|
|
| String _test(item) {
|
| - if (item is !Iterable) return 'not iterable';
|
| + if (item is! Iterable) return 'not iterable';
|
| item = item.toList();
|
|
|
| // Check the lengths are the same.
|
|
|