Fix typo in comments
This commit is contained in:
parent
5921be95d3
commit
6f750f0aa5
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ void StickyKeysTest::testStick()
|
||||||
QCOMPARE(modifierSpy.first()[1], expectedMods); // verify that mod is latched
|
QCOMPARE(modifierSpy.first()[1], expectedMods); // verify that mod is latched
|
||||||
|
|
||||||
modifierSpy.clear();
|
modifierSpy.clear();
|
||||||
// release mod, the modified should still be latched
|
// release mod, the modifier should still be latched
|
||||||
Test::keyboardKeyReleased(modifierKey, ++timestamp);
|
Test::keyboardKeyReleased(modifierKey, ++timestamp);
|
||||||
QVERIFY(modifierSpy.wait());
|
QVERIFY(modifierSpy.wait());
|
||||||
QCOMPARE(modifierSpy.first()[0], 0); // verify that mod is not depressed
|
QCOMPARE(modifierSpy.first()[0], 0); // verify that mod is not depressed
|
||||||
|
@ -165,7 +165,7 @@ void StickyKeysTest::testLock()
|
||||||
QCOMPARE(modifierSpy.first()[1], 4); // verify that Ctrl is latched
|
QCOMPARE(modifierSpy.first()[1], 4); // verify that Ctrl is latched
|
||||||
|
|
||||||
modifierSpy.clear();
|
modifierSpy.clear();
|
||||||
// release Ctrl, the modified should still be latched
|
// release Ctrl, the modifier should still be latched
|
||||||
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
|
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
|
||||||
QVERIFY(modifierSpy.wait());
|
QVERIFY(modifierSpy.wait());
|
||||||
QCOMPARE(modifierSpy.first()[0], 0); // verify that Ctrl is not depressed
|
QCOMPARE(modifierSpy.first()[0], 0); // verify that Ctrl is not depressed
|
||||||
|
|
Loading…
Reference in a new issue