mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
remove useless code
This commit is contained in:
committed by
Mohamed Zenadi
parent
145c96f5da
commit
a69b6392aa
@@ -56,8 +56,8 @@ class DecryptTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun pathShouldDecompose() {
|
fun pathShouldDecompose() {
|
||||||
val pathOne = "/fake/path/cat1/n1.gpg".replace("//", "/")
|
val pathOne = "/fake/path/cat1/n1.gpg"
|
||||||
val pathTwo = "/fake/path/n2.gpg".replace("//", "/")
|
val pathTwo = "/fake/path/n2.gpg"
|
||||||
|
|
||||||
assertEquals("/cat1/n1.gpg", PgpActivity.getRelativePath(pathOne, "/fake/path"))
|
assertEquals("/cat1/n1.gpg", PgpActivity.getRelativePath(pathOne, "/fake/path"))
|
||||||
assertEquals("/cat1/", PgpActivity.getParentPath(pathOne, "/fake/path"))
|
assertEquals("/cat1/", PgpActivity.getParentPath(pathOne, "/fake/path"))
|
||||||
|
Reference in New Issue
Block a user