We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0433f56 commit ed1b99aCopy full SHA for ed1b99a
tests/native_api_tests/test_api_serialization.cpp
@@ -82,9 +82,9 @@ TEST_CASE("API Serialization and Deserialization") {
82
83
SUBCASE("Round trip") {
84
std::vector<std::byte> msgpack_data{};
85
+ msgpack_serializer.get_to_binary_buffer(0, msgpack_data);
86
std::span<std::underlying_type_t<std::byte>> const msgpack_data_view{
87
reinterpret_cast<std::underlying_type_t<std::byte>*>(msgpack_data.data()), msgpack_data.size()};
- msgpack_serializer.get_to_binary_buffer(0, msgpack_data);
88
auto const json_document = nlohmann::ordered_json::from_msgpack(msgpack_data_view);
89
auto const json_result = json_document.dump(-1);
90
CHECK(json_result == json_data);
0 commit comments