aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt b/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
index f120c73e..767742bc 100644
--- a/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
+++ b/app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt
@@ -56,8 +56,8 @@ class DecryptTest {
@Test
fun pathShouldDecompose() {
- val pathOne = "/fake/path/cat1/n1.gpg".replace("//", "/")
- val pathTwo = "/fake/path/n2.gpg".replace("//", "/")
+ val pathOne = "/fake/path/cat1/n1.gpg"
+ val pathTwo = "/fake/path/n2.gpg"
assertEquals("/cat1/n1.gpg", PgpActivity.getRelativePath(pathOne, "/fake/path"))
assertEquals("/cat1/", PgpActivity.getParentPath(pathOne, "/fake/path"))