mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-15 19:42:12 +02:00
Huge refactoring in progress...
This commit is contained in:
@ -13,7 +13,7 @@ using namespace ArduinoJson;
|
||||
TEST(JsonArray_Iterator_Test, SimpleTest) {
|
||||
StaticJsonBuffer<100> jsonBuffer;
|
||||
|
||||
JsonArray array = jsonBuffer.createArray();
|
||||
JsonArray &array = jsonBuffer.createArray();
|
||||
array.add(12);
|
||||
array.add(34);
|
||||
|
||||
@ -26,5 +26,5 @@ TEST(JsonArray_Iterator_Test, SimpleTest) {
|
||||
EXPECT_NE(end, it);
|
||||
EXPECT_EQ(34, it->as<int>());
|
||||
++it;
|
||||
EXPECT_EQ(array.end(), it);
|
||||
EXPECT_EQ(end, it);
|
||||
}
|
||||
|
Reference in New Issue
Block a user