forked from bblanchon/ArduinoJson
Test empty nested arrays
This commit is contained in:
@ -44,6 +44,16 @@ namespace JsonGeneratorTests
|
||||
"]");
|
||||
}
|
||||
|
||||
TEST_METHOD(EmptyNestedArrays)
|
||||
{
|
||||
whenInputIs("[[],[]]");
|
||||
outputMustBe(
|
||||
"[\n"
|
||||
" [],\n"
|
||||
" []\n"
|
||||
"]");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
void whenInputIs(const char input[])
|
||||
|
Reference in New Issue
Block a user