forked from bblanchon/ArduinoJson
Refactoring JsonNode...
This commit is contained in:
1 parent
f7fa9e9467
commit
b0e12e8852
13 files changed
+250
-208
No files matched your search
@@ -135,18 +135,14 @@ TEST_F(JsonArray_PrintTo_Tests, OneBooleanOverCapacity)
|
||||
|
||||
TEST_F(JsonArray_PrintTo_Tests, OneEmptyNestedArray)
|
||||
{
|
||||
JsonArray nestedArray = json.createArray();
|
||||
|
||||
array.add(nestedArray);
|
||||
array.createNestedArray();
|
||||
|
||||
outputMustBe("[[]]");
|
||||
}
|
||||
|
||||
TEST_F(JsonArray_PrintTo_Tests, OneEmptyNestedHash)
|
||||
{
|
||||
JsonObject nestedObject = json.createObject();
|
||||
|
||||
array.add(nestedObject);
|
||||
array.createNestedObject();
|
||||
|
||||
outputMustBe("[{}]");
|
||||
}
|
||||
Reference in new issue
Block a user