mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Reorganized writer classes
This commit is contained in:
		| @@ -49,15 +49,15 @@ TEST_CASE("StaticStringWriter") { | ||||
|   } | ||||
| } | ||||
|  | ||||
| TEST_CASE("DynamicStringWriter<std::string>") { | ||||
| TEST_CASE("Writer<std::string>") { | ||||
|   std::string output; | ||||
|   DynamicStringWriter<std::string> sb(output); | ||||
|   Writer<std::string> sb(output); | ||||
|   common_tests(sb, output); | ||||
| } | ||||
|  | ||||
| TEST_CASE("DynamicStringWriter<custom_string>") { | ||||
| TEST_CASE("Writer<custom_string>") { | ||||
|   custom_string output; | ||||
|   DynamicStringWriter<custom_string> sb(output); | ||||
|   Writer<custom_string> sb(output); | ||||
|  | ||||
|   REQUIRE(4 == print(sb, "ABCD")); | ||||
|   REQUIRE("ABCD" == output); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user