Index: pkg/matcher/test/matchers_unminified_test.dart |
diff --git a/pkg/matcher/test/matchers_unminified_test.dart b/pkg/matcher/test/matchers_unminified_test.dart |
index 28d97ab2701dd8cd36e162460dc0b8dca7acd02a..6947884dcefd8f74be40ccc4a520df781b22b8e8 100644 |
--- a/pkg/matcher/test/matchers_unminified_test.dart |
+++ b/pkg/matcher/test/matchers_unminified_test.dart |
@@ -108,6 +108,15 @@ void main() { |
"Actual: SimpleIterable:[1]"); |
}); |
+ test('isNotEmpty', () { |
+ var d = new SimpleIterable(0); |
+ var e = new SimpleIterable(1); |
+ shouldPass(e, isNotEmpty); |
+ shouldFail(d, isNotEmpty, "Expected: non-empty " |
+ "Actual: SimpleIterable:[]"); |
+ }); |
+ |
+ |
test('contains', () { |
var d = new SimpleIterable(3); |
shouldPass(d, contains(2)); |