mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-14 11:06:35 +02:00
serializeXxx()
sets std::string
and String
instead of appending
This commit is contained in:
@ -141,7 +141,7 @@ TEST_CASE("Writer<custom_string>") {
|
||||
TEST_CASE("serializeJson(doc, String)") {
|
||||
JsonDocument doc;
|
||||
doc["hello"] = "world";
|
||||
::String output;
|
||||
::String output = "erase me";
|
||||
|
||||
SECTION("sufficient capacity") {
|
||||
serializeJson(doc, output);
|
||||
|
Reference in New Issue
Block a user