From fd827fe7ab68e09ba07a383f67ef8787c4401571 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 12 May 2022 09:49:05 +0200 Subject: tests: move atf_init_test_cases to the top Makes it more visible. --- tests/setup_keymap_test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/setup_keymap_test') diff --git a/tests/setup_keymap_test b/tests/setup_keymap_test index 641baf2..44c1643 100755 --- a/tests/setup_keymap_test +++ b/tests/setup_keymap_test @@ -9,6 +9,10 @@ init_env() { # - https://github.com/jmmv/kyua/wiki/Quickstart-atf-sh-test # - https://manned.org/atf-sh-api +atf_init_test_cases() { + atf_add_test_case setup_keymap_usage +} + atf_test_case setup_keymap_usage setup_keymap_usage_body() { init_env @@ -18,6 +22,3 @@ setup_keymap_usage_body() { setup-keymap -h } -atf_init_test_cases() { - atf_add_test_case setup_keymap_usage -} -- cgit v1.2.3