diff --git a/test/src/unit-cppapi-schema-evolution.cc b/test/src/unit-cppapi-schema-evolution.cc index 8ef43426247..1a80b6d4842 100644 --- a/test/src/unit-cppapi-schema-evolution.cc +++ b/test/src/unit-cppapi-schema-evolution.cc @@ -881,6 +881,13 @@ TEST_CASE( .set_offsets_buffer("a", offsets); query_r.submit(); array_r.close(); + CHECK(buffer.size() == 0); + CHECK_THAT(buffer, Catch::Matchers::Equals(std::string{""})); + CHECK(offsets.size() == 10); + CHECK_THAT( + offsets, + Catch::Matchers::Equals( + std::vector{0, 1, 2, 3, 4, 5, 6, 7, 8, 9})); // Read the original array std::vector a_data(10);