diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/time/duration.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/test/lux/time/duration.lux b/stdlib/source/test/lux/time/duration.lux index 9eea2e03b..fe196cb29 100644 --- a/stdlib/source/test/lux/time/duration.lux +++ b/stdlib/source/test/lux/time/duration.lux @@ -12,6 +12,7 @@ ["$." codec]]}] [data [number + ["n" nat] ["i" int]]] [math ["r" random (#+ Random)]]] @@ -39,7 +40,7 @@ (do r.monad [sample (|> duration (:: @ map (/.frame /.day))) frame duration - factor (|> r.nat (:: @ map (|>> (n/% 10) (n/max 1)))) + factor (|> r.nat (:: @ map (|>> (n.% 10) (n.max 1)))) #let [(^open "/@.") /.order]] ($_ _.and (_.test "Can scale a duration." |