mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Added a test that appends an empty string
This commit is contained in:
		| @@ -23,6 +23,16 @@ namespace JsonGeneratorTests | ||||
|             assertResultIs(""); | ||||
|         } | ||||
|  | ||||
|         TEST_METHOD(AppendEmptyString) | ||||
|         { | ||||
|             append(""); | ||||
|             assertResultIs(""); | ||||
|         } | ||||
|  | ||||
|         void append(const char* s) | ||||
|         { | ||||
|             sb->append(s); | ||||
|         } | ||||
|  | ||||
|         void assertResultIs(const char* expected) | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user