mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Improved coverage of JsonObject
This commit is contained in:
		| @@ -50,4 +50,18 @@ TEST_CASE("JsonObject::operator==()") { | ||||
|     REQUIRE(obj1 == obj2); | ||||
|     REQUIRE(obj1c == obj2c); | ||||
|   } | ||||
|  | ||||
|   SECTION("should return false when RHS is null") { | ||||
|     JsonObject null; | ||||
|  | ||||
|     REQUIRE_FALSE(obj1 == null); | ||||
|     REQUIRE_FALSE(obj1c == null); | ||||
|   } | ||||
|  | ||||
|   SECTION("should return false when LHS is null") { | ||||
|     JsonObject null; | ||||
|  | ||||
|     REQUIRE_FALSE(null == obj2); | ||||
|     REQUIRE_FALSE(null == obj2c); | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user