mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
JsonArray: extracted methods addItem
This commit is contained in:
@ -102,6 +102,18 @@ namespace JsonGeneratorTests
|
||||
AssertJsonIs("[false,true]");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
TEST_METHOD(AddOneEmptyNestedArray)
|
||||
{
|
||||
JsonArray<0> nestedArray;
|
||||
|
||||
arr.add(nestedArray);
|
||||
|
||||
AssertJsonIs("[[]]");
|
||||
}
|
||||
|
||||
*/
|
||||
void AssertJsonIs(const char* expected)
|
||||
{
|
||||
char buffer[256];
|
||||
|
Reference in New Issue
Block a user