Test an object with comma, quote and column in the value

This commit is contained in:
Benoit Blanchon committed 2014-08-25 10:31:03 +02:00
1 parent aafabd8e8d
commit 66c05041e8
3 files changed
+38 -9

No files matched your search

@@ -56,6 +56,15 @@ namespace JsonGeneratorTests
"}");
}
TEST_METHOD(ObjectTrickyCharacters)
{
whenInputIs("{\"key\":\":\\\"',\"}");
outputMustBe(
"{\n"
" \"key\":\":\\\"',\"\n"
"}");
}
private:
void whenInputIs(const char input[])