diff options
| author | Ryan <fauxpark@gmail.com> | 2021-11-04 16:22:17 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-03 22:22:17 -0700 |
| commit | f529580860cf5a1de4afc10432f218a45daae17a (patch) | |
| tree | 1d2fa041174f2586230ab831c05e5b56d8ba4f92 /tests/basic/test_tapping.cpp | |
| parent | b06d9d822cfb72e0728b11711a333f2f5d3c631e (diff) | |
Basic keycode overhaul (#14726)
Diffstat (limited to 'tests/basic/test_tapping.cpp')
| -rw-r--r-- | tests/basic/test_tapping.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/test_tapping.cpp b/tests/basic/test_tapping.cpp index 30d032e9fd..88ab97eb6e 100644 --- a/tests/basic/test_tapping.cpp +++ b/tests/basic/test_tapping.cpp | |||
| @@ -46,7 +46,7 @@ TEST_F(Tapping, HoldA_SHFT_T_KeyReportsShift) { | |||
| 46 | // Tapping keys does nothing on press | 46 | // Tapping keys does nothing on press |
| 47 | EXPECT_CALL(driver, send_keyboard_mock(_)).Times(0); | 47 | EXPECT_CALL(driver, send_keyboard_mock(_)).Times(0); |
| 48 | idle_for(TAPPING_TERM); | 48 | idle_for(TAPPING_TERM); |
| 49 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))); | 49 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LEFT_SHIFT))); |
| 50 | run_one_scan_loop(); | 50 | run_one_scan_loop(); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| @@ -92,6 +92,6 @@ TEST_F(Tapping, ANewTapWithinTappingTermIsBuggy) { | |||
| 92 | // If TAPPING_TERM + 1 above is changed to TAPPING_TERM or TAPPING_TERM + 2 it doesn't | 92 | // If TAPPING_TERM + 1 above is changed to TAPPING_TERM or TAPPING_TERM + 2 it doesn't |
| 93 | press_key(7, 0); | 93 | press_key(7, 0); |
| 94 | // Shouldn't be called here really | 94 | // Shouldn't be called here really |
| 95 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).Times(1); | 95 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LEFT_SHIFT))).Times(1); |
| 96 | idle_for(TAPPING_TERM); | 96 | idle_for(TAPPING_TERM); |
| 97 | } | 97 | } |
