aboutsummaryrefslogtreecommitdiff
path: root/format-common/src/test/kotlin/app
diff options
context:
space:
mode:
authorNewton Cesar <new123cesar@gmail.com>2022-10-08 12:03:29 -0300
committerGitHub <noreply@github.com>2022-10-08 20:33:29 +0530
commit6d73b63435a2760ec9026090ecfea4846157b6ab (patch)
treed0ebc38b48b7e56cf22bbb9acee32ed797cc16bc /format-common/src/test/kotlin/app
parent224d956e28be0e09832371c98112a5af692194e8 (diff)
Fix detekt warnings in format-common (#2167)
* fix warning ktlint to format-common folder * update to code review * adjusted spotless
Diffstat (limited to 'format-common/src/test/kotlin/app')
-rw-r--r--format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt1
-rw-r--r--format-common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt (renamed from format-common/src/test/kotlin/app/passwordstore/util/time/TestClocks.kt)0
2 files changed, 1 insertions, 0 deletions
diff --git a/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt b/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
index f492604d..2022d968 100644
--- a/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
+++ b/format-common/src/test/kotlin/app/passwordstore/data/passfile/PasswordEntryTest.kt
@@ -194,6 +194,7 @@ class PasswordEntryTest {
companion object {
+ @Suppress("MaxLineLength")
const val TOTP_URI =
"otpauth://totp/ACME%20Co:john@example.com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30"
diff --git a/format-common/src/test/kotlin/app/passwordstore/util/time/TestClocks.kt b/format-common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt
index 8a860a39..8a860a39 100644
--- a/format-common/src/test/kotlin/app/passwordstore/util/time/TestClocks.kt
+++ b/format-common/src/test/kotlin/app/passwordstore/util/time/TestUserClock.kt