aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/format/tar.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/format/tar.lux')
-rw-r--r--stdlib/source/test/lux/data/format/tar.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/data/format/tar.lux b/stdlib/source/test/lux/data/format/tar.lux
index 4ccec923b..c951382ba 100644
--- a/stdlib/source/test/lux/data/format/tar.lux
+++ b/stdlib/source/test/lux/data/format/tar.lux
@@ -163,7 +163,7 @@
chunk (random.ascii/lower chunk_size)
chunks (\ ! map (n.% 100) random.nat)
.let [content (|> chunk
- (list.repeat chunks)
+ (list.repeated chunks)
(text.join_with "")
(\ utf8.codec encode))]]
(`` ($_ _.and
@@ -206,7 +206,7 @@
(in (case (row.list tar)
(^ (list (<tag> [actual_path actual_moment actual_mode actual_ownership actual_content])))
(let [seconds (: (-> Instant Int)
- (|>> instant.relative (duration.query duration.second)))]
+ (|>> instant.relative (duration.ticks duration.second)))]
(and (text\= (/.from_path expected_path)
(/.from_path actual_path))
(i.= (seconds expected_moment)