From 7327b7355ffa8f2bee203fbe2c2a5eb507af831b Mon Sep 17 00:00:00 2001 From: Sander Mertens Date: Fri, 18 Oct 2024 15:44:59 -0700 Subject: [PATCH] Cleanup query in test case --- test/query/src/Basic.c | 2 ++ test/query/src/main.c | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/query/src/Basic.c b/test/query/src/Basic.c index 6b1353c51..15859eea4 100644 --- a/test/query/src/Basic.c +++ b/test/query/src/Basic.c @@ -11358,6 +11358,8 @@ void Basic_entity_iteration_w_match_empty_tables(void) { test_bool(false, ecs_query_next(&it)); } + ecs_query_fini(q); + ecs_fini(world); } diff --git a/test/query/src/main.c b/test/query/src/main.c index 81a771f7f..ef072390a 100644 --- a/test/query/src/main.c +++ b/test/query/src/main.c @@ -686,7 +686,6 @@ void Basic_entity_iteration_w_match_empty_tables(void); void Basic_get_cache_query_uncached(void); void Basic_get_cache_query_cached(void); void Basic_get_cache_query_partially_cached(void); -void Basic_written_pair_any_any_record(void); // Testsuite 'Combinations' void Combinations_setup(void); @@ -4808,10 +4807,6 @@ bake_test_case Basic_testcases[] = { { "get_cache_query_partially_cached", Basic_get_cache_query_partially_cached - }, - { - "written_pair_any_any_record", - Basic_written_pair_any_any_record } }; @@ -10442,7 +10437,7 @@ static bake_test_suite suites[] = { "Basic", Basic_setup, NULL, - 231, + 230, Basic_testcases, 1, Basic_params