forked from forks/qmk_firmware
Format code according to conventions (#17096)
This commit is contained in:
parent
a899c097ce
commit
da63289505
|
@ -70,7 +70,7 @@ TEST_F(Secure, test_unlock_timeout) {
|
|||
EXPECT_FALSE(secure_is_unlocked());
|
||||
secure_unlock();
|
||||
EXPECT_TRUE(secure_is_unlocked());
|
||||
idle_for(SECURE_IDLE_TIMEOUT+1);
|
||||
idle_for(SECURE_IDLE_TIMEOUT + 1);
|
||||
EXPECT_FALSE(secure_is_unlocked());
|
||||
|
||||
testing::Mock::VerifyAndClearExpectations(&driver);
|
||||
|
@ -135,14 +135,13 @@ TEST_F(Secure, test_unlock_request_timeout) {
|
|||
EXPECT_FALSE(secure_is_unlocked());
|
||||
secure_request_unlock();
|
||||
EXPECT_TRUE(secure_is_unlocking());
|
||||
idle_for(SECURE_UNLOCK_TIMEOUT+1);
|
||||
idle_for(SECURE_UNLOCK_TIMEOUT + 1);
|
||||
EXPECT_FALSE(secure_is_unlocking());
|
||||
EXPECT_FALSE(secure_is_unlocked());
|
||||
|
||||
testing::Mock::VerifyAndClearExpectations(&driver);
|
||||
}
|
||||
|
||||
|
||||
TEST_F(Secure, test_unlock_request_fail_mid) {
|
||||
TestDriver driver;
|
||||
auto key_e = KeymapKey(0, 0, 0, KC_E);
|
||||
|
|
Loading…
Reference in a new issue