mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
deserializeMsgPack() inserts null instead of returning NotSupported
This commit is contained in:
@@ -20,7 +20,8 @@ static void check(const char* input, U expected) {
|
||||
static void checkNotSupported(const char* input) {
|
||||
DynamicJsonDocument doc(4096);
|
||||
DeserializationError error = deserializeMsgPack(doc, input);
|
||||
REQUIRE(error == DeserializationError::NotSupported);
|
||||
REQUIRE(error == DeserializationError::Ok);
|
||||
REQUIRE(doc.isNull());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user