forked from bblanchon/ArduinoJson
Test an object with comma, quote and column in the value
This commit is contained in:
@ -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