diff --git a/JsonGeneratorTests/JsonHashTableTests.cpp b/JsonGeneratorTests/JsonHashTableTests.cpp index 7d6823ab..95cb814e 100644 --- a/JsonGeneratorTests/JsonHashTableTests.cpp +++ b/JsonGeneratorTests/JsonHashTableTests.cpp @@ -44,6 +44,13 @@ namespace JsonGeneratorTests jsonIs("{\"pi\":3.14}"); } + TEST_METHOD(OneNull) + { + add("key", (char*)0); + + jsonIs("{\"key\":null}"); + } + private: template