summaryrefslogtreecommitdiff
path: root/tests/setup_keymap_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/setup_keymap_test')
-rwxr-xr-xtests/setup_keymap_test7
1 files changed, 4 insertions, 3 deletions
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
-}