mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 20:42:24 +02:00
Inverted dependency between MemoryPool and string adapters.
Inserted a null after each raw string in the pool.
This commit is contained in:
@ -36,6 +36,6 @@ TEST_CASE("StringBuilder") {
|
||||
str.append('h');
|
||||
str.complete();
|
||||
|
||||
REQUIRE(JSON_STRING_SIZE(2) == pool.size());
|
||||
REQUIRE(JSON_STRING_SIZE(1) == pool.size());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user