aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/world/time/month.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/world/time/month.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/world/time/month.lux b/stdlib/source/test/lux/world/time/month.lux
index e7b5f09a2..29117b8d3 100644
--- a/stdlib/source/test/lux/world/time/month.lux
+++ b/stdlib/source/test/lux/world/time/month.lux
@@ -65,7 +65,7 @@
(try#each (at /.equivalence = expected))
(try.else false)))
(_.coverage [/.invalid_month]
- (case (/.by_number invalid)
+ (when (/.by_number invalid)
{try.#Failure error}
(exception.match? /.invalid_month error)
@@ -93,7 +93,7 @@
(do random.monad
[not_a_month (random.upper_case 1)]
(_.coverage [/.not_a_month_of_the_year]
- (case (at /.codec decoded not_a_month)
+ (when (at /.codec decoded not_a_month)
{try.#Failure error}
(exception.match? /.not_a_month_of_the_year error)