forked from bblanchon/ArduinoJson
Test an object with comma, quote and column in the value
This commit is contained in:
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[])
|
||||
|
||||
Reference in new issue
Block a user