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

Unified Diff: test/utils.dart

Issue 1812923003: Add an explicit distinction between a command's description and summary. (Closed) Base URL: git@github.com:dart-lang/args@master
Patch Set: Created 4 years, 9 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 4ecc50262449c4d20d6cc5c2f6989cd3d267d66b..1fd846895eb0c382734a2324d0c04c6123584b3a 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -39,6 +39,10 @@ class MultilineCommand extends Command {
}
}
+class MultilineSummaryCommand extends MultilineCommand {
+ String get summary => description;
+}
+
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