Extracted class IndentedPrintDecorator from PrettyPrintDecorator

This commit is contained in:
Benoit Blanchon committed 2014-08-26 09:28:41 +02:00
1 parent d877d77b63
commit 6539c6982c
12 files changed
+128 -31

No files matched your search

@@ -74,7 +74,8 @@ namespace JsonGeneratorTests
void whenInputIs(const char input[])
{
StringBuilder sb(buffer, sizeof(buffer));
PrettyPrintDecorator decorator(sb);
IndentedPrintDecorator indentedPrint(sb);
PrettyPrintDecorator decorator(indentedPrint);
returnValue = decorator.print(input);
}