diff options
author | Eduardo Julian | 2021-05-30 11:48:28 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-05-30 11:48:28 -0400 |
commit | 7a2ab85f1c86e7256c5b45672b2fe8f157e35c9a (patch) | |
tree | fa2e9f9e0cf1bc286700b3c5a7ce446f62abe4c5 /stdlib/source/test/lux/world/file.lux | |
parent | 6154b0d4a09b96c9092309917a0379d491181c79 (diff) |
lux/data/binary.slice now works in the offset+length style.
Diffstat (limited to 'stdlib/source/test/lux/world/file.lux')
-rw-r--r-- | stdlib/source/test/lux/world/file.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/world/file.lux b/stdlib/source/test/lux/world/file.lux index 002d76c42..c7f546a1b 100644 --- a/stdlib/source/test/lux/world/file.lux +++ b/stdlib/source/test/lux/world/file.lux @@ -110,10 +110,10 @@ ## (wrap (and (n.= (n.* 2 file_size) read_size) ## (\ binary.equivalence = ## dataL - ## (try.assume (binary.slice 0 (dec file_size) content))) + ## (try.assume (binary.slice 0 file_size content))) ## (\ binary.equivalence = ## dataR - ## (try.assume (binary.slice file_size (dec read_size) content)))))))] + ## (try.assume (binary.slice file_size (n.- file_size read_size) content)))))))] ## (_.assert "Can append to files." ## (try.default #0 result)))) ## (wrap (do promise.monad |