summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-27 21:19:16 +1100
committerGitHub <noreply@github.com>2022-10-27 11:19:16 +0100
commit002b58f0e4ea64eb5b06e36d988160bbb907cb83 (patch)
tree10ffe1f49d22b4ad6d660198da56782aae57e743 /tests
parent8e0945c82224ca2fdcc21eb7184520f879804fb6 (diff)
Normalise Space Cadet keycodes (#18864)
Diffstat (limited to 'tests')
-rw-r--r--tests/caps_word/test_caps_word.cpp6
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 91dd1a0221..3d0735d8c2 100644
--- a/tests/caps_word/test_caps_word.cpp
+++ b/tests/caps_word/test_caps_word.cpp
@@ -419,7 +419,7 @@ TEST_P(CapsWordBothShifts, PressLRLR) {
419 right_shift.press(); 419 right_shift.press();
420 420
421 // For mod-tap and Space Cadet keys, wait for the tapping term. 421 // For mod-tap and Space Cadet keys, wait for the tapping term.
422 if (left_shift.code == LSFT_T(KC_A) || left_shift.code == KC_LSPO) { 422 if (left_shift.code == LSFT_T(KC_A) || left_shift.code == QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN) {
423 idle_for(TAPPING_TERM); 423 idle_for(TAPPING_TERM);
424 } 424 }
425 425
@@ -456,7 +456,7 @@ TEST_P(CapsWordBothShifts, PressLRRL) {
456 run_one_scan_loop(); 456 run_one_scan_loop();
457 right_shift.press(); 457 right_shift.press();
458 458
459 if (left_shift.code == LSFT_T(KC_A) || left_shift.code == KC_LSPO) { 459 if (left_shift.code == LSFT_T(KC_A) || left_shift.code == QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN) {
460 idle_for(TAPPING_TERM); 460 idle_for(TAPPING_TERM);
461 } 461 }
462 run_one_scan_loop(); 462 run_one_scan_loop();
@@ -481,7 +481,7 @@ INSTANTIATE_TEST_CASE_P(
481 CapsWordBothShiftsParams{ 481 CapsWordBothShiftsParams{
482 "OneshotShifts", OSM(MOD_LSFT), OSM(MOD_RSFT)}, 482 "OneshotShifts", OSM(MOD_LSFT), OSM(MOD_RSFT)},
483 CapsWordBothShiftsParams{ 483 CapsWordBothShiftsParams{
484 "SpaceCadetShifts", KC_LSPO, KC_RSPC}, 484 "SpaceCadetShifts", SC_LSPO, SC_RSPC},
485 CapsWordBothShiftsParams{ 485 CapsWordBothShiftsParams{
486 "ModTapShifts", LSFT_T(KC_A), RSFT_T(KC_B)} 486 "ModTapShifts", LSFT_T(KC_A), RSFT_T(KC_B)}
487 ), 487 ),