Merge DynamicJsonDocument with JsonDocument

This commit is contained in:
Benoit Blanchon
2023-03-20 10:49:01 +01:00
parent db9258bcd7
commit 540901e219
164 changed files with 550 additions and 666 deletions

View File

@ -8,7 +8,7 @@
#include <catch.hpp>
TEST_CASE("Comments in arrays") {
DynamicJsonDocument doc(2048);
JsonDocument doc(2048);
SECTION("Block comments") {
SECTION("Before opening bracket") {
@ -161,7 +161,7 @@ TEST_CASE("Comments in arrays") {
}
TEST_CASE("Comments in objects") {
DynamicJsonDocument doc(2048);
JsonDocument doc(2048);
SECTION("Block comments") {
SECTION("Before opening brace") {
@ -371,7 +371,7 @@ TEST_CASE("Comments in objects") {
}
TEST_CASE("Comments alone") {
DynamicJsonDocument doc(2048);
JsonDocument doc(2048);
SECTION("Just a trailing comment with no line break") {
DeserializationError err = deserializeJson(doc, "// comment");