aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/region.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/control/region.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/control/region.lux b/stdlib/source/test/lux/control/region.lux
index bd6351ded..61e67e81f 100644
--- a/stdlib/source/test/lux/control/region.lux
+++ b/stdlib/source/test/lux/control/region.lux
@@ -114,7 +114,7 @@
(wrap (and (..success? outcome)
(n.= expected_clean_ups
actual_clean_ups))))))
- (_.cover [/.fail]
+ (_.cover [/.failure]
(thread.run
(do {! thread.monad}
[clean_up_counter (thread.box 0)
@@ -127,7 +127,7 @@
(do {! (/.monad !)}
[_ (monad.map ! (/.acquire //@ count_clean_up)
(enum.range n.enum 1 expected_clean_ups))
- _ (/.fail //@ (exception.construct ..oops []))]
+ _ (/.failure //@ (exception.construct ..oops []))]
(wrap [])))
actual_clean_ups (thread.read clean_up_counter)]
(wrap (and (..throws? ..oops outcome)