Skip to content

Commit ed1b99a

Browse files
committed
typo...
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
1 parent 0433f56 commit ed1b99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/native_api_tests/test_api_serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ TEST_CASE("API Serialization and Deserialization") {
8282

8383
SUBCASE("Round trip") {
8484
std::vector<std::byte> msgpack_data{};
85+
msgpack_serializer.get_to_binary_buffer(0, msgpack_data);
8586
std::span<std::underlying_type_t<std::byte>> const msgpack_data_view{
8687
reinterpret_cast<std::underlying_type_t<std::byte>*>(msgpack_data.data()), msgpack_data.size()};
87-
msgpack_serializer.get_to_binary_buffer(0, msgpack_data);
8888
auto const json_document = nlohmann::ordered_json::from_msgpack(msgpack_data_view);
8989
auto const json_result = json_document.dump(-1);
9090
CHECK(json_result == json_data);

0 commit comments

Comments
 (0)