From 8717257069249cdb217575bb3a3512d35bfadafb Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Wed, 12 Apr 2023 14:26:59 +0200 Subject: Refactor tests to use same struct arg as the filter --- tests/unit/testutil.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/unit/testutil.h') diff --git a/tests/unit/testutil.h b/tests/unit/testutil.h index 4bd5550..c2f2153 100644 --- a/tests/unit/testutil.h +++ b/tests/unit/testutil.h @@ -19,9 +19,7 @@ struct args_target { bool open_path; int fd; int nr; - enum arg_cmp cmp[6]; - enum arg_type type[6]; - void *args[6]; + struct arg args[6]; int (*install_filter)(struct args_target *at); int (*target)(void *); }; -- cgit v1.2.3