🔨 approach to un-break the changes for #462

This commit is contained in:
Niels Lohmann 2017-08-16 20:11:05 +02:00
parent 22b59693f1
commit aba8b58492
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
3 changed files with 21 additions and 2 deletions

View file

@ -1322,7 +1322,7 @@ TEST_CASE("single CBOR roundtrip")
// check with different start index
packed.insert(packed.begin(), 5, 0xff);
CHECK(j1 == json::from_cbor({packed.begin() + 5, packed.end()}));
CHECK(j1 == json::from_cbor(packed.begin() + 5, packed.end()));
}
}

View file

@ -1164,7 +1164,7 @@ TEST_CASE("single MessagePack roundtrip")
// check with different start index
packed.insert(packed.begin(), 5, 0xff);
CHECK(j1 == json::from_msgpack({packed.begin() + 5, packed.end()}));
CHECK(j1 == json::from_msgpack(packed.begin() + 5, packed.end()));
}
}