remove useless code
This commit is contained in:
parent
145c96f5da
commit
a69b6392aa
1 changed files with 2 additions and 2 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue