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

Unified Diff: runtime/observatory/lib/src/cli/command.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 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 | « runtime/observatory/lib/src/app/page.dart ('k') | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/cli/command.dart
diff --git a/runtime/observatory/lib/src/cli/command.dart b/runtime/observatory/lib/src/cli/command.dart
index a0d8fa180ffca53be023cbabfce8615b925ce160..6030aef8ca6e96830bad98739e269fa1be85677f 100644
--- a/runtime/observatory/lib/src/cli/command.dart
+++ b/runtime/observatory/lib/src/cli/command.dart
@@ -253,7 +253,8 @@ abstract class Command extends _CommandBase {
toString() => 'Command(${name})';
}
-abstract class CommandException implements Exception {}
+abstract class CommandException implements Exception {
+}
class AmbiguousCommandException extends CommandException {
AmbiguousCommandException(this.command, this.matches);
@@ -263,8 +264,8 @@ class AmbiguousCommandException extends CommandException {
@override
String toString() {
- List<String> matchNames =
- matches.map((Command command) => '${command.fullName}').toList();
+ List<String> matchNames = matches.map(
+ (Command command) => '${command.fullName}').toList();
return "Command '$command' is ambiguous: $matchNames";
}
}
« no previous file with comments | « runtime/observatory/lib/src/app/page.dart ('k') | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698