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

Unified Diff: runtime/bin/vmservice/observatory/test/contexts_test.dart

Issue 542363003: Don't double-escape in strings in the VM Service, and don't use \u0000 to determine the string lengt (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: build Created 6 years, 3 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/bin/vmservice/observatory/test/contexts_test.dart
diff --git a/runtime/bin/vmservice/observatory/test/contexts_test.dart b/runtime/bin/vmservice/observatory/test/contexts_test.dart
index 38a5a2e2a472153760f3cd03e112e4e76680f120..05ae127e8fe6c825e593e3265cf39ab6d368e2bc 100644
--- a/runtime/bin/vmservice/observatory/test/contexts_test.dart
+++ b/runtime/bin/vmservice/observatory/test/contexts_test.dart
@@ -72,7 +72,7 @@ var tests = [
expect(block.closureCtxt.length, equals(1));
return block.closureCtxt.load().then((Context ctxt) {
expect(ctxt.variables.single['value'].isString, isTrue);
- expect(ctxt.variables.single['value'].valueAsString, equals('"I could be copied into the block"'));
+ expect(ctxt.variables.single['value'].valueAsString, equals('I could be copied into the block'));
expect(block.closureCtxt.parentContext.isNull, isTrue);
});
});

Powered by Google App Engine
This is Rietveld 408576698