mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Added test of an empty string
This commit is contained in:
		| @@ -7,5 +7,5 @@ | ||||
|  | ||||
| size_t IndentedPrintDecorator::write(uint8_t c) | ||||
| { | ||||
|     return print.write(c); | ||||
|     return sink.write(c); | ||||
| } | ||||
| @@ -13,7 +13,7 @@ class IndentedPrintDecorator : public Print | ||||
| public: | ||||
|  | ||||
|     IndentedPrintDecorator(Print& p) | ||||
|         : currentLevel(0), print(p) | ||||
|         : currentLevel(0), sink(p) | ||||
|     { | ||||
|     } | ||||
|  | ||||
| @@ -21,6 +21,6 @@ public: | ||||
|  | ||||
| private: | ||||
|     int currentLevel; | ||||
|     Print& print; | ||||
|     Print& sink; | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user