From 637143db8361ab6e9dfeca4f02e44af499107fa9 Mon Sep 17 00:00:00 2001 From: "Zezheng.Li" Date: Thu, 23 Nov 2023 17:50:51 +0800 Subject: [PATCH] test --- src/struct_pack/tests/test_fast_varint.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }