mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Clang-format: set DerivePointerAlignment to false
				
					
				
			This commit is contained in:
		| @@ -9,7 +9,7 @@ TEST_CASE("serialize MsgPack to various destination types") { | ||||
|   DynamicJsonDocument doc(4096); | ||||
|   JsonObject object = doc.to<JsonObject>(); | ||||
|   object["hello"] = "world"; | ||||
|   const char *expected_result = "\x81\xA5hello\xA5world"; | ||||
|   const char* expected_result = "\x81\xA5hello\xA5world"; | ||||
|   const size_t expected_length = 13; | ||||
|  | ||||
|   SECTION("std::string") { | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| #include <limits> | ||||
|  | ||||
| template <typename T> | ||||
| void check(T value, const std::string &expected) { | ||||
| void check(T value, const std::string& expected) { | ||||
|   DynamicJsonDocument doc(4096); | ||||
|   doc.to<JsonVariant>().set(value); | ||||
|   char buffer[256] = ""; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user