summaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2017-08-02 12:24:02 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-08-10 11:10:29 +0200
commita69b6392aa7a8a98f9a196a57e036828010dee1b (patch)
tree805e59cc21a7320c4c011804b09fd3a6c4a3b00a /app/src/androidTest
parent145c96f5da43ec69cc3684757406ebf5ea96c3e7 (diff)
remove useless code
Diffstat (limited to 'app/src/androidTest')
-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"))