From eb8683e51a3e49b84de6dea38b870379b33c229d Mon Sep 17 00:00:00 2001 From: Michael Ilyin Date: Tue, 20 Aug 2024 15:23:25 +0200 Subject: [PATCH] test fix --- tests/z_api_double_drop_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/z_api_double_drop_test.c b/tests/z_api_double_drop_test.c index e04babcd0..7de607c24 100644 --- a/tests/z_api_double_drop_test.c +++ b/tests/z_api_double_drop_test.c @@ -25,21 +25,21 @@ void test_keyexpr(void) { z_owned_keyexpr_t keyexpr; z_keyexpr_from_str(&keyexpr, URL); - assert(_z_check(keyexpr)); + assert(z_internal_check(keyexpr)); z_drop(z_move(keyexpr)); - assert(!_z_check(keyexpr)); + assert(!z_internal_check(keyexpr)); z_drop(z_move(keyexpr)); - assert(!_z_check(keyexpr)); + assert(!z_internal_check(keyexpr)); } void test_config(void) { z_owned_config_t config; z_config_default(&config); - assert(_z_check(config)); + assert(z_internal_check(config)); z_drop(z_move(config)); - assert(!_z_check(config)); + assert(!z_internal_check(config)); z_drop(z_move(config)); - assert(!_z_check(config)); + assert(!z_internal_check(config)); } int main(void) {