diff options
| author | Paul Landers <paul@thelanders.family> | 2024-01-09 06:07:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-09 22:07:10 +1100 |
| commit | 1f6dfd19cf93b365c6ad5227d2a8a054ff30cc24 (patch) | |
| tree | f78a11e550a2dc88497920e29abdb97534c376c1 /tests | |
| parent | 8b48f0dea36c192a1a98a2ead3b72412e23d08d6 (diff) | |
Ignore space cadet key release when caps word is active (#21721)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/caps_word/test_caps_word.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/caps_word/test_caps_word.cpp b/tests/caps_word/test_caps_word.cpp index 802f1e960e..28d86e9324 100644 --- a/tests/caps_word/test_caps_word.cpp +++ b/tests/caps_word/test_caps_word.cpp | |||
| @@ -423,8 +423,8 @@ TEST_P(CapsWordBothShifts, PressLRLR) { | |||
| 423 | run_one_scan_loop(); | 423 | run_one_scan_loop(); |
| 424 | right_shift.press(); | 424 | right_shift.press(); |
| 425 | 425 | ||
| 426 | // For mod-tap and Space Cadet keys, wait for the tapping term. | 426 | // For mod-tap, wait for the tapping term. |
| 427 | if (left_shift.code == LSFT_T(KC_A) || left_shift.code == QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN) { | 427 | if (left_shift.code == LSFT_T(KC_A)) { |
| 428 | idle_for(TAPPING_TERM); | 428 | idle_for(TAPPING_TERM); |
| 429 | } | 429 | } |
| 430 | 430 | ||
| @@ -461,7 +461,7 @@ TEST_P(CapsWordBothShifts, PressLRRL) { | |||
| 461 | run_one_scan_loop(); | 461 | run_one_scan_loop(); |
| 462 | right_shift.press(); | 462 | right_shift.press(); |
| 463 | 463 | ||
| 464 | if (left_shift.code == LSFT_T(KC_A) || left_shift.code == QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN) { | 464 | if (left_shift.code == LSFT_T(KC_A)) { |
| 465 | idle_for(TAPPING_TERM); | 465 | idle_for(TAPPING_TERM); |
| 466 | } | 466 | } |
| 467 | run_one_scan_loop(); | 467 | run_one_scan_loop(); |
