1
0
Fork 0
forked from forks/qmk_firmware

Reference issue #1477 from the unit tests

This commit is contained in:
Fred Sundvik 2017-07-08 19:34:51 +03:00 committed by Jack Humbert
parent 41efcd6d73
commit b3af79eaff

View file

@ -69,9 +69,11 @@ TEST_F(Macro, PlayASimpleMacro) {
.AT_TIME(100);
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_O)))
// BUG: The timer should not really have advanced 10 ms here
// See issue #1477
.AT_TIME(110);
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport()))
// BUG: The timer should not advance on both keydown and key-up
// See issue #1477
.AT_TIME(120);
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_R)))
.AT_TIME(130);