diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2017-08-02 12:24:02 +0100 |
---|---|---|
committer | Mohamed Zenadi <zeapo@users.noreply.github.com> | 2017-08-10 11:10:29 +0200 |
commit | a69b6392aa7a8a98f9a196a57e036828010dee1b (patch) | |
tree | 805e59cc21a7320c4c011804b09fd3a6c4a3b00a /app/src | |
parent | 145c96f5da43ec69cc3684757406ebf5ea96c3e7 (diff) |
remove useless code
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt | 4 |
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")) |