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

Unified Diff: runtime/observatory/test/command_test.dart

Issue 993613002: Implement 'print', 'up', 'down', and 'frame' commands in the Observatory debugger. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 5 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/service/object.dart ('k') | runtime/observatory/test/debugging_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/command_test.dart
diff --git a/runtime/observatory/test/command_test.dart b/runtime/observatory/test/command_test.dart
index e0400f8e1184c8392bf575b9679faa521aa43482..260684e4dd33c63fa1e5f9b1159904619115e193 100644
--- a/runtime/observatory/test/command_test.dart
+++ b/runtime/observatory/test/command_test.dart
@@ -124,7 +124,7 @@ void testCommandComplete() {
});
// Locals + subcommands, single local match.
- cmd.completeCommand('count th ').then((result) {
+ cmd.completeCommand('count th').then((result) {
expect(result, equals(['count three ']));
});
@@ -138,9 +138,9 @@ void testCommandComplete() {
expect(result, equals(['co chocula ']));
});
- // We gobble spare spaces, even in the prefix.
+ // We gobble spare spaces in the prefix but not elsewhere.
cmd.completeCommand(' game chec').then((result) {
- expect(result, equals(['game checkers ']));
+ expect(result, equals(['game checkers ']));
});
}
@@ -155,7 +155,7 @@ void testCommandRunSimple() {
out.clear();
// Substring dispatch works.
cmd.runCommand('al cat mouse').then(expectAsync((_) {
- expect(out.toString(), contains('executing alpha([cat, mouse])\n'));
+ expect(out.toString(), contains('executing alpha([cat , mouse])\n'));
}));
}));
}
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/observatory/test/debugging_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698