diff --git a/JsonGeneratorTests/StringBuilderTests.cpp b/JsonGeneratorTests/StringBuilderTests.cpp index 34911c9d..4e418e3d 100644 --- a/JsonGeneratorTests/StringBuilderTests.cpp +++ b/JsonGeneratorTests/StringBuilderTests.cpp @@ -23,6 +23,16 @@ namespace JsonGeneratorTests assertResultIs(""); } + TEST_METHOD(AppendEmptyString) + { + append(""); + assertResultIs(""); + } + + void append(const char* s) + { + sb->append(s); + } void assertResultIs(const char* expected) {