diff options
| author | Harri Nieminen <moiman@posteo.net> | 2023-03-28 21:31:49 +0000 |
|---|---|---|
| committer | Harri Nieminen <moiman@posteo.net> | 2023-03-28 21:45:18 +0000 |
| commit | ae26915916731813edc2aefeb18a5754e8c79cd4 (patch) | |
| tree | 07039d49e8f55e1658b01903b1a6e0dd816d6739 /tests | |
| parent | render: fix glitchy selection while resizing the ‘normal’ screen (diff) | |
fix typos
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-config.c b/tests/test-config.c index 4f8b0c3b..6b44e9c2 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -895,7 +895,7 @@ enum collision_test_mode { FAIL_DIFFERENT_ACTION, FAIL_DIFFERENT_ARGV, FAIL_MOUSE_OVERRIDE, - SUCCED_SAME_ACTION_AND_ARGV, + SUCCEED_SAME_ACTION_AND_ARGV, }; static void @@ -949,7 +949,7 @@ _test_binding_collisions(struct context *ctx, break; case FAIL_DIFFERENT_ARGV: - case SUCCED_SAME_ACTION_AND_ARGV: + case SUCCEED_SAME_ACTION_AND_ARGV: bindings.arr[0].aux.type = BINDING_AUX_PIPE; bindings.arr[0].aux.master_copy = true; bindings.arr[0].aux.pipe.args = xcalloc( @@ -965,13 +965,13 @@ _test_binding_collisions(struct context *ctx, bindings.arr[1].aux.pipe.args[0] = xstrdup("/usr/bin/foobar"); bindings.arr[1].aux.pipe.args[1] = xstrdup("hello"); - if (test_mode == SUCCED_SAME_ACTION_AND_ARGV) + if (test_mode == SUCCEED_SAME_ACTION_AND_ARGV) bindings.arr[1].aux.pipe.args[2] = xstrdup("world"); break; } bool expected_result = - test_mode == SUCCED_SAME_ACTION_AND_ARGV ? true : false; + test_mode == SUCCEED_SAME_ACTION_AND_ARGV ? true : false; if (resolve_key_binding_collisions( ctx->conf, ctx->section, map, &bindings, type) != expected_result) @@ -1004,7 +1004,7 @@ test_binding_collisions(struct context *ctx, { _test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ACTION); _test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ARGV); - _test_binding_collisions(ctx, max_action, map, type, SUCCED_SAME_ACTION_AND_ARGV); + _test_binding_collisions(ctx, max_action, map, type, SUCCEED_SAME_ACTION_AND_ARGV); if (type == MOUSE_BINDING) { _test_binding_collisions( |
