From 0f3028c5c7761f314c0ee7963bf2354d4cb6a632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=BChl?= Date: Mon, 18 May 2026 19:25:20 +0200 Subject: [PATCH] use specific type for vector to match expected sizes --- test/backends/SessionTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/backends/SessionTest.cpp b/test/backends/SessionTest.cpp index 6cabe3a..5f1661f 100644 --- a/test/backends/SessionTest.cpp +++ b/test/backends/SessionTest.cpp @@ -321,7 +321,7 @@ TEST_CASE_METHOD(SessionFixture, "Use session to find all objects with many-to-m REQUIRE(find_result.is_ok()); auto all_ingredients = find_result.release(); std::vector> ingredients_repo; - std::vector expected_ingredients_sizes {2, 1, 1, 1, 1, 1, 1}; + std::vector expected_ingredients_sizes {2, 1, 1, 1, 1, 1, 1}; size_t index {0}; for (auto it = all_ingredients.begin(); it != all_ingredients.end(); ++it) { REQUIRE(!it->recipes.empty()); @@ -370,7 +370,7 @@ TEST_CASE_METHOD(SessionFixture, "Use session to find all objects with many-to-m REQUIRE(find_result.is_ok()); auto all_recipes = find_result.release(); std::vector> recipes_repo; - std::vector expected_recipe_sizes {3, 2, 3}; + std::vector expected_recipe_sizes {3, 2, 3}; size_t index {0}; for (auto it = all_recipes.begin(); it != all_recipes.end(); ++it) { REQUIRE(!it->ingredients.empty());