mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Increased test coverage
This commit is contained in:
		| @@ -70,8 +70,13 @@ TEST_CASE("JsonObject::remove()") { | ||||
|   } | ||||
| #endif | ||||
|  | ||||
|   SECTION("should work on null object") { | ||||
|     JsonObject null; | ||||
|     null.remove("key"); | ||||
|   SECTION("remove by key on unbound reference") { | ||||
|     JsonObject unboundObject; | ||||
|     unboundObject.remove("key"); | ||||
|   } | ||||
|  | ||||
|   SECTION("remove by iterator on unbound reference") { | ||||
|     JsonObject unboundObject; | ||||
|     unboundObject.remove(unboundObject.begin()); | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user