change unit test to reflect new modtap default behavior

This commit is contained in:
xs5871 2022-02-07 18:56:32 +00:00 committed by Kyle Brown
parent 481c69b212
commit eb3a7bbf1e

View File

@ -33,15 +33,15 @@ class TestHoldTap(unittest.TestCase):
) )
keyboard.test( keyboard.test(
'MT within tap time rolling -> tap behavior', 'MT within tap time rolling -> hold behavior',
[(0, True), 100, (3, True), 250, (0, False), (3, False)], [(0, True), 100, (3, True), 250, (0, False), (3, False)],
[{KC.A}, {KC.A, KC.D}, {KC.D}, {}], [{KC.LCTL}, {KC.LCTL, KC.D}, {KC.D}, {}],
) )
keyboard.test( keyboard.test(
'MT within tap time nested -> tap behavior', 'MT within tap time nested -> hold behavior',
[(0, True), 100, (3, True), (3, False), 250, (0, False)], [(0, True), 100, (3, True), (3, False), 250, (0, False)],
[{KC.A}, {KC.A, KC.D}, {KC.A}, {}], [{KC.LCTL}, {KC.LCTL, KC.D}, {KC.LCTL}, {}],
) )
keyboard.test( keyboard.test(