mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Merged JsonArrayIterator and JsonObjectIterator into a one template class
This commit is contained in:
@@ -17,8 +17,8 @@ TEST(JsonArray_Iterator_Test, SimpleTest) {
|
||||
array.add(12);
|
||||
array.add(34);
|
||||
|
||||
JsonArrayIterator it = array.begin();
|
||||
JsonArrayIterator end = array.end();
|
||||
JsonArray::iterator it = array.begin();
|
||||
JsonArray::iterator end = array.end();
|
||||
|
||||
EXPECT_NE(end, it);
|
||||
EXPECT_EQ(12, it->as<int>());
|
||||
|
||||
Reference in New Issue
Block a user