Fix typo in comments

This commit is contained in:
Nicolas Fella 2024-07-16 16:08:14 +02:00
parent 5921be95d3
commit 6f750f0aa5

View file

@ -114,7 +114,7 @@ void StickyKeysTest::testStick()
QCOMPARE(modifierSpy.first()[1], expectedMods); // verify that mod is latched
modifierSpy.clear();
// release mod, the modified should still be latched
// release mod, the modifier should still be latched
Test::keyboardKeyReleased(modifierKey, ++timestamp);
QVERIFY(modifierSpy.wait());
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
modifierSpy.clear();
// release Ctrl, the modified should still be latched
// release Ctrl, the modifier should still be latched
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
QVERIFY(modifierSpy.wait());
QCOMPARE(modifierSpy.first()[0], 0); // verify that Ctrl is not depressed