mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Added DeserializationError::EmptyInput
This commit is contained in:
		| @@ -27,7 +27,13 @@ TEST_CASE("deserializeJson(DynamicJsonDocument&)") { | ||||
|     SECTION("Empty input") { | ||||
|       DeserializationError err = deserializeJson(doc, ""); | ||||
|  | ||||
|       REQUIRE(err == DeserializationError::IncompleteInput); | ||||
|       REQUIRE(err == DeserializationError::EmptyInput); | ||||
|     } | ||||
|  | ||||
|     SECTION("Only spaces") { | ||||
|       DeserializationError err = deserializeJson(doc, "  \t\n\r"); | ||||
|  | ||||
|       REQUIRE(err == DeserializationError::EmptyInput); | ||||
|     } | ||||
|  | ||||
|     SECTION("issue #628") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user