Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: pkg/args/test/args_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/args/lib/args.dart ('k') | pkg/fixnum/lib/src/int32.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
});
});
« no previous file with comments | « pkg/args/lib/args.dart ('k') | pkg/fixnum/lib/src/int32.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698