Increased test coverage

This commit is contained in:
Benoit Blanchon
2018-11-28 12:40:18 +01:00
parent a60162ba76
commit 41b2e629f7
2 changed files with 25 additions and 2 deletions

View File

@ -47,8 +47,7 @@ TEST_CASE("deserialize MsgPack object") {
}
SECTION("key is str 16") {
const char* input =
"\x82\xdb\x00\x00\x00\x03one\x01\xdb\x00\x00\x00\x03two\x02";
const char* input = "\x82\xda\x00\x03one\x01\xda\x00\x03two\x02";
DeserializationError error = deserializeMsgPack(doc, input);
JsonObject obj = doc.as<JsonObject>();