mirror of
https://github.com/nlohmann/json.git
synced 2026-02-13 00:52:17 +00:00
💥 change serialization of binary values
This commit is contained in:
@@ -1582,7 +1582,7 @@ TEST_CASE("CBOR")
|
||||
auto j = json::from_cbor(input);
|
||||
CHECK(j.is_binary());
|
||||
auto k = json::binary_array({0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x99});
|
||||
CAPTURE(j.dump(0, ' ', false, json::error_handler_t::strict, true))
|
||||
CAPTURE(j.dump(0, ' ', false, json::error_handler_t::strict))
|
||||
CHECK(j == k);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user