Added ElementProxy::getOrAddElement() (fixes #1311)

This commit is contained in:
Benoit Blanchon
2020-07-23 10:58:47 +02:00
parent 40085609e2
commit 6dc36125c2
4 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@
using namespace ARDUINOJSON_NAMESPACE;
TEST_CASE("MemberProxy::operator[]") {
TEST_CASE("ElementProxy::operator[]") {
DynamicJsonDocument doc(4096);
ElementProxy<JsonDocument&> ep = doc[1];