forked from bblanchon/ArduinoJson
serializeXxx() sets std::string and String instead of appending
This commit is contained in:
1 parent
3003756adb
commit
af6954c224
6 files changed
+24
-13
No files matched your search
@@ -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