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

Unified Diff: runtime/vm/zone_test.cc

Issue 9691005: Implement spawnFunction from the new isolate api. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: runtime/vm/zone_test.cc
===================================================================
--- runtime/vm/zone_test.cc (revision 5367)
+++ runtime/vm/zone_test.cc (working copy)
@@ -119,4 +119,11 @@
delete isolate;
}
+
+TEST_CASE(PrintToString) {
+ Zone zone(Isolate::Current());
+ const char* result = zone.PrintToString("Hello %s!", "World");
+ EXPECT_STREQ("Hello World!", result);
+}
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698