From 6ea957433071f9dde0c653c1c618ced8d223da21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Thu, 26 Jun 2014 12:53:58 +0200 Subject: [PATCH] Added a test that append a normal string --- JsonGeneratorTests/StringBuilderTests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/JsonGeneratorTests/StringBuilderTests.cpp b/JsonGeneratorTests/StringBuilderTests.cpp index 4e418e3d..6c4de1d3 100644 --- a/JsonGeneratorTests/StringBuilderTests.cpp +++ b/JsonGeneratorTests/StringBuilderTests.cpp @@ -29,6 +29,12 @@ namespace JsonGeneratorTests assertResultIs(""); } + TEST_METHOD(AppendString) + { + append("ABCD"); + assertResultIs("ABCD"); + } + void append(const char* s) { sb->append(s);