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 |