From a69b6392aa7a8a98f9a196a57e036828010dee1b Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Wed, 2 Aug 2017 12:24:02 +0100 Subject: [PATCH] remove useless code --- app/src/androidTest/java/com/zeapo/pwdstore/DecryptTest.kt | 4 ++-- 1 file 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"))