mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Append terminator in saveStringFromFreeZone()
				
					
				
			This commit is contained in:
		| @@ -60,6 +60,7 @@ TEST_CASE("Printable") { | ||||
|       CHECK(printable.totalBytesWritten() == 7); | ||||
|       CHECK(doc.overflowed() == false); | ||||
|       CHECK(doc.memoryUsage() == 8); | ||||
|       CHECK(doc.as<JsonVariant>().memoryUsage() == 8); | ||||
|     } | ||||
|  | ||||
|     SECTION("Via Print::write(const char* size_t)") { | ||||
| @@ -69,6 +70,7 @@ TEST_CASE("Printable") { | ||||
|       CHECK(printable.totalBytesWritten() == 7); | ||||
|       CHECK(doc.overflowed() == false); | ||||
|       CHECK(doc.memoryUsage() == 8); | ||||
|       CHECK(doc.as<JsonVariant>().memoryUsage() == 8); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user