Added a test with a NULL string

This commit is contained in:
Benoît Blanchon
2014-06-26 13:14:09 +02:00
parent d12e25bd8a
commit 18587d132b
2 changed files with 16 additions and 1 deletions

View File

@ -28,6 +28,12 @@ namespace JsonGeneratorTests
assertResultIs("");
}
TEST_METHOD(Null)
{
append(NULL);
assertResultIs("null");
}
TEST_METHOD(OneString)
{
append("ABCD");