diff --git a/src/struct_pack/tests/test_fast_varint.cpp b/src/struct_pack/tests/test_fast_varint.cpp index 5235e553b..c82d8ce49 100644 --- a/src/struct_pack/tests/test_fast_varint.cpp +++ b/src/struct_pack/tests/test_fast_varint.cpp @@ -254,7 +254,10 @@ TEST_CASE("fast varint test 9") { auto result = struct_pack::deserialize(buffer); REQUIRE(result.has_value()); - CHECK(result == o); + CHECK(result->a == o.a); + CHECK(result->b == o.b); + CHECK(result->c == o.c); + CHECK(result->d == o.d); CHECK(buffer.size() == 13); return; }