diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2022-06-05 21:06:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 20:06:05 +0100 |
commit | 4c48760558808bb42c99934a0e2c330679d6c6cf (patch) | |
tree | 3b09b95dc6c4a71c94a9e0088120b41ea43ea903 /tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp | |
parent | 95d20e6d8bb1ffaf3024af793daf789ee0b75727 (diff) |
Apply EXPECT_REPORT and EXPECT_EMPTY_REPORT (#17311)
...convenience macros to test cases that where missed during #17284
Diffstat (limited to 'tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp')
-rw-r--r-- | tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp b/tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp index a67c6629e0..965c702d7a 100644 --- a/tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp +++ b/tests/tap_hold_configurations/tapping_force_hold/test_action_layer.cpp @@ -66,13 +66,13 @@ TEST_F(ActionLayer, LayerTapToggleWithToggleWithKeypress) { testing::Mock::VerifyAndClearExpectations(&driver); - EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_A))).Times(1); + EXPECT_REPORT(driver, (KC_A)).Times(1); regular_key.press(); run_one_scan_loop(); expect_layer_state(0); testing::Mock::VerifyAndClearExpectations(&driver); - EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(1); + EXPECT_EMPTY_REPORT(driver).Times(1); regular_key.release(); run_one_scan_loop(); expect_layer_state(0); |