Refactored to use StringBuilder

This commit is contained in:
Benoit Blanchon committed 2014-09-30 16:40:00 +02:00
1 parent ab2587f089
commit 6b2705769a
9 files changed
+156 -6

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ protected:
void jsonMustBe(const char* expected)
{
char actual[256];
object.serialize(actual, sizeof(actual));
object.printTo(actual, sizeof(actual));
EXPECT_STREQ(expected, actual);
}