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

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

Issue 812743002: Fix the built-in help command in args. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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/test/command_runner_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/args/test/utils.dart
diff --git a/pkg/args/test/utils.dart b/pkg/args/test/utils.dart
index 1267a53cd391c507c919061f4fa867f567e81fcd..9d85fb07df3205ffac69791fdec3deafe949b5c5 100644
--- a/pkg/args/test/utils.dart
+++ b/pkg/args/test/utils.dart
@@ -75,7 +75,7 @@ void throwsFormat(ArgParser parser, List<String> args) {
Matcher throwsUsageError(message, usage) {
return throwsA(predicate((error) {
- expect(error, new isInstanceOf<UsageError>());
+ expect(error, new isInstanceOf<UsageException>());
expect(error.message, message);
expect(error.usage, usage);
return true;
« no previous file with comments | « pkg/args/test/command_runner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698