Index: pkg/unittest/lib/src/collection_matchers.dart |
diff --git a/pkg/unittest/lib/src/collection_matchers.dart b/pkg/unittest/lib/src/collection_matchers.dart |
index 80ac42811de4ba2f78dd41ffa47abf819b0fb2af..30e38f6bf95e1867900668de1086be4647d74eb0 100644 |
--- a/pkg/unittest/lib/src/collection_matchers.dart |
+++ b/pkg/unittest/lib/src/collection_matchers.dart |
@@ -142,7 +142,7 @@ class _UnorderedEquals extends BaseMatcher { |
} else if (expectedLength < actualLength) { |
return 'has too many elements (${actualLength} > ${expectedLength})'; |
} |
- List<bool> matched = new List<bool>.fixedLength(actualLength); |
+ List<bool> matched = new List<bool>(actualLength); |
for (var i = 0; i < actualLength; i++) { |
matched[i] = false; |
} |