diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-04-12 14:26:59 +0200 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-04-12 14:39:30 +0200 |
commit | 8717257069249cdb217575bb3a3512d35bfadafb (patch) | |
tree | dc64c6f8aaa595e4edb2d57bf489ba885a2ca748 /tests/unit/testutil.h | |
parent | c54051101e95998b3070d5ccea46f6c7e33dfe57 (diff) | |
download | seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar.gz seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar.bz2 seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar.lz seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar.xz seitan-8717257069249cdb217575bb3a3512d35bfadafb.tar.zst seitan-8717257069249cdb217575bb3a3512d35bfadafb.zip |
Refactor tests to use same struct arg as the filter
Diffstat (limited to 'tests/unit/testutil.h')
-rw-r--r-- | tests/unit/testutil.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 *); }; |