summaryrefslogtreecommitdiff
path: root/tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-05 19:06:37 +0000
committerQMK Bot <hello@qmk.fm>2022-06-05 19:06:37 +0000
commit6221c861860e6e2083ef4de6eb67ed74a1636c4a (patch)
tree4de25279faad550ccd2da1b6694421eb5a326c95 /tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp
parentd6402fe9fb01efae5c4952c1a3c07cd128e81eea (diff)
parent4c48760558808bb42c99934a0e2c330679d6c6cf (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp')
-rw-r--r--tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp b/tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp
index b3d4e520f6..dc0de0e44d 100644
--- a/tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp
+++ b/tests/tap_hold_configurations/retro_tapping/test_tap_hold.cpp
@@ -42,10 +42,10 @@ TEST_F(RetroTapping, tap_and_hold_mod_tap_hold_key) {
/* Release mod-tap-hold key. */
/* TODO: Why is LSHIFT send at all? */
- EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSHIFT)));
- EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport()));
- EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_P)));
- EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport()));
+ EXPECT_REPORT(driver, (KC_LSHIFT));
+ EXPECT_EMPTY_REPORT(driver);
+ EXPECT_REPORT(driver, (KC_P));
+ EXPECT_EMPTY_REPORT(driver);
mod_tap_hold_key.release();
run_one_scan_loop();
testing::Mock::VerifyAndClearExpectations(&driver);