diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-07-08 19:26:47 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-08 21:59:51 -0400 |
commit | 41efcd6d73ca08774e680daa39c42b0437133387 (patch) | |
tree | 6a377db579fde69cf1a618756ad68912b71d1551 | |
parent | 60b1880a6248b8d94da0d8d0db638af130557416 (diff) | |
download | qmk_firmware-41efcd6d73ca08774e680daa39c42b0437133387.tar.gz qmk_firmware-41efcd6d73ca08774e680daa39c42b0437133387.zip |
Reference issue #524 from the unit tests
-rw-r--r-- | tests/basic/test_keypress.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basic/test_keypress.cpp b/tests/basic/test_keypress.cpp index d85cba446..194b1745b 100644 --- a/tests/basic/test_keypress.cpp +++ b/tests/basic/test_keypress.cpp | |||
@@ -111,6 +111,9 @@ TEST_F(KeyPress, RightShiftLeftControlAndCharWithTheSameKey) { | |||
111 | press_key(6, 0); | 111 | press_key(6, 0); |
112 | // BUG: The press is split into two reports | 112 | // BUG: The press is split into two reports |
113 | // BUG: It reports RSFT instead of LSFT | 113 | // BUG: It reports RSFT instead of LSFT |
114 | // See issue #524 for more information | ||
115 | // The underlying cause is that we use only one bit to represent the right hand | ||
116 | // modifiers. | ||
114 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_RSFT, KC_RCTRL))); | 117 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_RSFT, KC_RCTRL))); |
115 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_RSFT, KC_RCTRL, KC_O))); | 118 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_RSFT, KC_RCTRL, KC_O))); |
116 | keyboard_task(); | 119 | keyboard_task(); |