Index: pkg/matcher/test/iterable_matchers_test.dart |
diff --git a/pkg/matcher/test/iterable_matchers_test.dart b/pkg/matcher/test/iterable_matchers_test.dart |
index 4570d52616480ca9777d75d6e978f836be58df61..91d5335798f7aa2db9d6473be2923234775ba0b3 100644 |
--- a/pkg/matcher/test/iterable_matchers_test.dart |
+++ b/pkg/matcher/test/iterable_matchers_test.dart |
@@ -17,6 +17,11 @@ void main() { |
shouldFail([1], isEmpty, "Expected: empty Actual: [1]"); |
}); |
+ test('isNotEmpty', () { |
+ shouldFail([], isNotEmpty, "Expected: non-empty Actual: []"); |
+ shouldPass([1], isNotEmpty); |
+ }); |
+ |
test('contains', () { |
var d = [1, 2]; |
shouldPass(d, contains(1)); |