diff options
author | QMK Bot <hello@qmk.fm> | 2022-10-22 16:00:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 00:00:40 +0100 |
commit | 1a1a3651d3ca6dfd8a09dd3e79498afbd54fa350 (patch) | |
tree | 5d3d5f05a9efbd1e294459a6f6e92dcf803ccf33 /tests | |
parent | c012490712b0d09a73769b46bd31b0a5fd434372 (diff) |
Format code according to conventions (#18818)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tap_hold_configurations/hold_on_other_key_press/test_tap_hold.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/tap_hold_configurations/hold_on_other_key_press/test_tap_hold.cpp b/tests/tap_hold_configurations/hold_on_other_key_press/test_tap_hold.cpp index b074922f74..e77c756624 100644 --- a/tests/tap_hold_configurations/hold_on_other_key_press/test_tap_hold.cpp +++ b/tests/tap_hold_configurations/hold_on_other_key_press/test_tap_hold.cpp @@ -282,10 +282,10 @@ TEST_F(HoldOnOtherKeyPress, nested_tap_of_layer_0_layer_tap_keys) { TestDriver driver; InSequence s; /* The keys are layer-taps on layer 0 but regular keys on layer 1 */ - auto first_layer_tap_key = KeymapKey(0, 1, 0, LT(1, KC_A)); - auto second_layer_tap_key = KeymapKey(0, 2, 0, LT(1, KC_P)); - auto first_key_on_layer = KeymapKey(1, 1, 0, KC_B); - auto second_key_on_layer = KeymapKey(1, 2, 0, KC_Q); + auto first_layer_tap_key = KeymapKey(0, 1, 0, LT(1, KC_A)); + auto second_layer_tap_key = KeymapKey(0, 2, 0, LT(1, KC_P)); + auto first_key_on_layer = KeymapKey(1, 1, 0, KC_B); + auto second_key_on_layer = KeymapKey(1, 2, 0, KC_Q); set_keymap({first_layer_tap_key, second_layer_tap_key, first_key_on_layer, second_key_on_layer}); @@ -318,12 +318,12 @@ TEST_F(HoldOnOtherKeyPress, nested_tap_of_layer_tap_keys) { TestDriver driver; InSequence s; /* The keys are layer-taps on all layers */ - auto first_key_layer_0 = KeymapKey(0, 1, 0, LT(1, KC_A)); - auto second_key_layer_0 = KeymapKey(0, 2, 0, LT(1, KC_P)); - auto first_key_layer_1 = KeymapKey(1, 1, 0, LT(2, KC_B)); - auto second_key_layer_1 = KeymapKey(1, 2, 0, LT(2, KC_Q)); - auto first_key_layer_2 = KeymapKey(2, 1, 0, KC_TRNS); - auto second_key_layer_2 = KeymapKey(2, 2, 0, KC_TRNS); + auto first_key_layer_0 = KeymapKey(0, 1, 0, LT(1, KC_A)); + auto second_key_layer_0 = KeymapKey(0, 2, 0, LT(1, KC_P)); + auto first_key_layer_1 = KeymapKey(1, 1, 0, LT(2, KC_B)); + auto second_key_layer_1 = KeymapKey(1, 2, 0, LT(2, KC_Q)); + auto first_key_layer_2 = KeymapKey(2, 1, 0, KC_TRNS); + auto second_key_layer_2 = KeymapKey(2, 2, 0, KC_TRNS); set_keymap({first_key_layer_0, second_key_layer_0, first_key_layer_1, second_key_layer_1, first_key_layer_2, second_key_layer_2}); @@ -391,9 +391,9 @@ TEST_F(HoldOnOtherKeyPress, roll_layer_tap_key_with_regular_key) { TestDriver driver; InSequence s; - auto layer_tap_hold_key = KeymapKey(0, 1, 0, LT(1, KC_P)); - auto regular_key = KeymapKey(0, 2, 0, KC_A); - auto layer_key = KeymapKey(1, 2, 0, KC_B); + auto layer_tap_hold_key = KeymapKey(0, 1, 0, LT(1, KC_P)); + auto regular_key = KeymapKey(0, 2, 0, KC_A); + auto layer_key = KeymapKey(1, 2, 0, KC_B); set_keymap({layer_tap_hold_key, regular_key, layer_key}); |