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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 1123813002: Move symbol table from per isolate snapshot to vm isolate snapshot, this reduces the per isolate in… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 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/vm/dart_api_impl.cc ('k') | runtime/vm/dart_api_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
===================================================================
--- runtime/vm/dart_api_impl_test.cc (revision 45789)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -8541,7 +8541,7 @@
EXPECT_EQ(reinterpret_cast<void*>(&canonical_str_peer), peer);
// Test with a one byte ascii string.
- const char* ascii = "string";
+ const char* ascii = "?unseen";
expected_length = strlen(ascii);
Dart_Handle ascii_str = NewString(ascii);
EXPECT_VALID(ascii_str);
@@ -8607,7 +8607,7 @@
}
// Test with a symbol (hash value should be preserved on externalization).
- const char* symbol_ascii = "string";
+ const char* symbol_ascii = "?unseen";
expected_length = strlen(symbol_ascii);
Dart_Handle symbol_str =
Api::NewHandle(isolate, Symbols::New(symbol_ascii, expected_length));
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_api_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698