summaryrefslogtreecommitdiff
path: root/libs/sftp/src/test/java/org
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-10-14 23:09:08 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-10-14 23:09:08 +0200
commit4af8bed1fe533f6a0371da32c8e2c0ec5c81ebbf (patch)
tree8cb6e7a2a83b6b661db879ac6b0750b266b919f3 /libs/sftp/src/test/java/org
parentea9621389bfa62cb4e63688249c52ac0e41ff282 (diff)
Add path to Link
It's implementation specific if path is relative or absolute but it contains the link target. Especially useful for NoTarget.
Diffstat (limited to 'libs/sftp/src/test/java/org')
-rw-r--r--libs/sftp/src/test/java/org/the_jk/cleversync/sftp/SftpTreeTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sftp/src/test/java/org/the_jk/cleversync/sftp/SftpTreeTest.kt b/libs/sftp/src/test/java/org/the_jk/cleversync/sftp/SftpTreeTest.kt
index 60b25f2..b6b2236 100644
--- a/libs/sftp/src/test/java/org/the_jk/cleversync/sftp/SftpTreeTest.kt
+++ b/libs/sftp/src/test/java/org/the_jk/cleversync/sftp/SftpTreeTest.kt
@@ -70,7 +70,7 @@ class SftpTreeTest : TreeAbstractTest() {
assertThat(
when (target) {
is Link.DirectoryTarget -> null
- Link.NoTarget -> null
+ is Link.NoTarget -> null
is Link.FileTarget -> target.file
},
).isEqualTo(content.files[0])