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

Unified Diff: packages/args/test/command_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 | « packages/args/test/command_runner_test.dart ('k') | packages/args/test/parse_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/args/test/command_test.dart
diff --git a/packages/args/test/command_test.dart b/packages/args/test/command_test.dart
index 888016a4053fd0d74cfaf53fa8d60acb4ee77b76..cd32c63dabb408cb950769b44ed6fed0efff20e4 100644
--- a/packages/args/test/command_test.dart
+++ b/packages/args/test/command_test.dart
@@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library command_test;
-
import 'package:args/command_runner.dart';
import 'package:test/test.dart';
import 'utils.dart';
@@ -92,7 +90,8 @@ Run "test help" to see global options."""));
});
test("usageException splits up the message and usage", () {
- expect(() => foo.usageException("message"), throwsUsageError("message", """
+ expect(() => foo.usageException("message"),
+ throwsUsageException("message", """
Usage: test foo [arguments]
-h, --help Print this usage information.
« no previous file with comments | « packages/args/test/command_runner_test.dart ('k') | packages/args/test/parse_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698