From e14e4a1f8e738a50d49a0ca9a3e600944d27c36a Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 9 Jul 2024 14:37:46 +0200 Subject: [PATCH] Fix comment in test The intent is that the key is *not* locked --- autotests/integration/sticky_keys_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/integration/sticky_keys_test.cpp b/autotests/integration/sticky_keys_test.cpp index f0d4d0d9ad..7e7113c9d3 100644 --- a/autotests/integration/sticky_keys_test.cpp +++ b/autotests/integration/sticky_keys_test.cpp @@ -191,7 +191,7 @@ void StickyKeysTest::testLock() Test::keyboardKeyPressed(KEY_LEFTCTRL, ++timestamp); QVERIFY(modifierSpy.wait()); QCOMPARE(modifierSpy.first()[0], 4); // verify that Ctrl is depressed - QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is locked + QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is not locked Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp); }