mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Added a test that adds a null in a hash table
This commit is contained in:
		| @@ -44,6 +44,13 @@ namespace JsonGeneratorTests | ||||
|             jsonIs("{\"pi\":3.14}"); | ||||
|         } | ||||
|  | ||||
|         TEST_METHOD(OneNull) | ||||
|         { | ||||
|             add("key", (char*)0); | ||||
|  | ||||
|             jsonIs("{\"key\":null}"); | ||||
|         } | ||||
|  | ||||
|     private: | ||||
|  | ||||
|         template<typename T> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user