From 9814d9620607f18c8ac7f99b2b87cdc7e100020d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 8 Feb 2022 19:02:28 +0100 Subject: config: rename enum config_key_binding_type -> key_binding_type --- tests/test-config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test-config.c b/tests/test-config.c index bced6b5c..88f22a4a 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -677,7 +677,7 @@ static void test_key_binding(struct context *ctx, bool (*parse_fun)(struct context *ctx), int action, int max_action, const char *const *map, struct config_key_binding_list *bindings, - enum config_key_binding_type type) + enum key_binding_type type) { xassert(map[action] != NULL); xassert(bindings->count == 0); @@ -840,7 +840,7 @@ enum collision_test_mode { static void _test_binding_collisions(struct context *ctx, int max_action, const char *const *map, - enum config_key_binding_type type, + enum key_binding_type type, enum collision_test_mode test_mode) { struct config_key_binding *bindings_array = @@ -937,7 +937,7 @@ _test_binding_collisions(struct context *ctx, static void test_binding_collisions(struct context *ctx, int max_action, const char *const *map, - enum config_key_binding_type type) + enum key_binding_type type) { _test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ACTION); _test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ARGV); -- cgit v1.3