summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-05-14 15:14:49 -0700
committerGitHub <noreply@github.com>2022-05-14 23:14:49 +0100
commitda632895051558740ca1ca8ecb607a846e2384d7 (patch)
treea6d5cd5a36127dd8a8984d7a74078f689bca2a7e /tests
parenta899c097ce140c261526c93a5527f1e4e8dab613 (diff)
Format code according to conventions (#17096)
Diffstat (limited to 'tests')
-rw-r--r--tests/secure/test_secure.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/secure/test_secure.cpp b/tests/secure/test_secure.cpp
index 87055ebb7f..b7c51b0bd2 100644
--- a/tests/secure/test_secure.cpp
+++ b/tests/secure/test_secure.cpp
@@ -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);