Index: pkg/args/test/args_test.dart |
diff --git a/pkg/args/test/args_test.dart b/pkg/args/test/args_test.dart |
index 11627f3f8beec93af3d32110457f91c98781b20f..6feb1dcec267a62244ca29e1e6d7977d85909a87 100644 |
--- a/pkg/args/test/args_test.dart |
+++ b/pkg/args/test/args_test.dart |
@@ -450,8 +450,8 @@ main() { |
parser.addOption('meow', defaultsTo: 'kitty'); |
var args = parser.parse([]); |
expect(args.options, hasLength(2)); |
- expect(args.options.some((o) => o == 'woof'), isTrue); |
- expect(args.options.some((o) => o == 'meow'), isTrue); |
+ expect(args.options.any((o) => o == 'woof'), isTrue); |
+ expect(args.options.any((o) => o == 'meow'), isTrue); |
}); |
}); |