summaryrefslogtreecommitdiff
path: root/libs/local/src/test
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-08-23 00:23:04 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-08-23 00:23:04 +0200
commita95264b5273748330c3126632277fd7a0db8ec91 (patch)
treec1342d5f04d79fa99325746a19cd68d5df23f890 /libs/local/src/test
parent399a431f1b8610b94cd38f7910ca4c70c29906d5 (diff)
local: Simply PathFile.write
Don't fiddle around with temp files and such. This needs to be handled on a higher level. Otherwise, how do you know if the temp file should be replaced or not when close is called?
Diffstat (limited to 'libs/local/src/test')
-rw-r--r--libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt b/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
index 21002e3..a7d0afa 100644
--- a/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
+++ b/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
@@ -98,7 +98,6 @@ class LocalTreeTest {
os.write(127)
os.write(byteArrayOf(1))
os.write(byteArrayOf(2), 0, 0)
- assertThat(foo.size).isEqualTo(4.toULong())
}
assertThat(foo.size).isEqualTo(2.toULong())
assertThat(tree.list().files).hasSize(1)