aboutsummaryrefslogtreecommitdiff
path: root/tests/basic/test_keypress.cpp
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-08-30 11:19:03 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2019-08-30 15:01:52 -0700
commitb624f32f944acdc59dcb130674c09090c5c404cb (patch)
treebc13adbba137d122d9a2c2fb2fafcbb08ac10e25 /tests/basic/test_keypress.cpp
parent61af76a10d00aba185b8338604171de490a13e3b (diff)
downloadqmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.tar.gz
qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.zip
clang-format changes
Diffstat (limited to 'tests/basic/test_keypress.cpp')
-rw-r--r--tests/basic/test_keypress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic/test_keypress.cpp b/tests/basic/test_keypress.cpp
index 194b1745b..e5247911c 100644
--- a/tests/basic/test_keypress.cpp
+++ b/tests/basic/test_keypress.cpp
@@ -41,15 +41,15 @@ TEST_F(KeyPress, CorrectKeysAreReportedWhenTwoKeysArePressed) {
41 TestDriver driver; 41 TestDriver driver;
42 press_key(1, 0); 42 press_key(1, 0);
43 press_key(0, 3); 43 press_key(0, 3);
44 //Note that QMK only processes one key at a time 44 // Note that QMK only processes one key at a time
45 //See issue #1476 for more information 45 // See issue #1476 for more information
46 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_B))); 46 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_B)));
47 keyboard_task(); 47 keyboard_task();
48 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_B, KC_C))); 48 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_B, KC_C)));
49 keyboard_task(); 49 keyboard_task();
50 release_key(1, 0); 50 release_key(1, 0);
51 release_key(0, 3); 51 release_key(0, 3);
52 //Note that the first key released is the first one in the matrix order 52 // Note that the first key released is the first one in the matrix order
53 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_C))); 53 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_C)));
54 keyboard_task(); 54 keyboard_task();
55 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())); 55 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport()));