forked from bblanchon/ArduinoJson
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