aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/time/date.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/time/date.lux')
-rw-r--r--stdlib/source/test/lux/time/date.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/time/date.lux b/stdlib/source/test/lux/time/date.lux
index 6f9832198..0aa6674b6 100644
--- a/stdlib/source/test/lux/time/date.lux
+++ b/stdlib/source/test/lux/time/date.lux
@@ -46,7 +46,7 @@
(/.month expected)
(/.day_of_month expected))
(try\map (\ /.equivalence = expected))
- (try.default false))))
+ (try.else false))))
(do random.monad
[expected random.date]
(_.cover [/.invalid_day]
@@ -75,7 +75,7 @@
(|> (\ /.codec encode expected)
(<text>.run /.parser)
(try\map (\ /.equivalence = expected))
- (try.default false))))
+ (try.else false))))
(do {! random.monad}
[year (\ ! map (|>> (n.% 10,000) inc)
random.nat)