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

Unified Diff: runtime/observatory/tests/service/command_test.dart

Issue 1241673003: Async-step, first cut. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: runtime/observatory/tests/service/command_test.dart
diff --git a/runtime/observatory/tests/service/command_test.dart b/runtime/observatory/tests/service/command_test.dart
index 9403662976b6e7f00dc989bb17f0aa71d4a6e8c7..69ac08f3968a890b3ae71d2194fe028fd5a45633 100644
--- a/runtime/observatory/tests/service/command_test.dart
+++ b/runtime/observatory/tests/service/command_test.dart
@@ -185,7 +185,7 @@ void testCommandRunNotFound() {
RootCommand cmd = new RootCommand([new TestCommand(out, 'alpha', [])]);
cmd.runCommand('goose').catchError(expectAsync((e) {
- expect(e, equals('notfound'));
+ expect(e, equals('No such command'));
}));
}
@@ -196,7 +196,7 @@ void testCommandRunAmbiguous() {
new TestCommand(out, 'ankle', [])]);
cmd.runCommand('a 55').catchError(expectAsync((e) {
- expect(e, equals('ambiguous'));
+ expect(e, equals('Ambiguous command'));
out.clear();
cmd.runCommand('ankl 55').then(expectAsync((_) {
expect(out.toString(), equals('executing ankle([55])\n'));
« no previous file with comments | « runtime/observatory/tests/service/break_on_function_test.dart ('k') | runtime/observatory/tests/service/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698