Index: pkg/unittest/core_matchers.dart |
diff --git a/pkg/unittest/core_matchers.dart b/pkg/unittest/core_matchers.dart |
index ad7fd899b014add9bd45bc1268e05f85d7de7682..e71e49176baa4e0a938b7c04fcabcd1f19e87705 100644 |
--- a/pkg/unittest/core_matchers.dart |
+++ b/pkg/unittest/core_matchers.dart |
@@ -12,7 +12,7 @@ class _Empty extends BaseMatcher { |
const _Empty(); |
bool matches(item, MatchState matchState) { |
if (item is Map || item is Collection) { |
- return item.isEmpty(); |
+ return item.isEmpty; |
} else if (item is String) { |
return item.length == 0; |
} else { |