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

Unified Diff: test/utils.dart

Issue 1603063004: Don't truncate multi-line command descriptions. (Closed) Base URL: git@github.com:dart-lang/args@master
Patch Set: Created 4 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 | « 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: test/utils.dart
diff --git a/test/utils.dart b/test/utils.dart
index b6c6c717ace59f6cd6fccbb1d44eee104bf98600..3ef68873bd6e9934c521d01a0482e30045dbd4b9 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -27,6 +27,18 @@ class FooCommand extends Command {
}
}
+class MultilineCommand extends Command {
+ var hasRun = false;
+
+ final name = "multiline";
+ final description = "Multi\nline.";
+ final takesArguments = false;
+
+ void run() {
+ hasRun = true;
+ }
+}
+
class HiddenCommand extends Command {
var hasRun = false;
« no previous file with comments | « test/command_runner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698