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.lux26
1 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/test/lux/control/region.lux b/stdlib/source/test/lux/control/region.lux
index fceb62bc7..bd6351ded 100644
--- a/stdlib/source/test/lux/control/region.lux
+++ b/stdlib/source/test/lux/control/region.lux
@@ -1,7 +1,7 @@
(.module:
[library
[lux #*
- [type (#+ :share)]
+ [type (#+ :sharing)]
["_" test (#+ Test)]
[abstract
[equivalence (#+ Equivalence)]
@@ -58,18 +58,18 @@
(def: comparison
(Comparison (All [a] (All [! r] (Region r (Thread !) a))))
(function (_ == left right)
- (case [(:share [a]
- (Equivalence a)
- ==
-
- (Try a)
- (thread.run (:assume (/.run thread.monad left))))
- (:share [a]
- (Equivalence a)
- ==
-
- (Try a)
- (thread.run (:assume (/.run thread.monad right))))]
+ (case [(:sharing [a]
+ (Equivalence a)
+ ==
+
+ (Try a)
+ (thread.run (:assume (/.run thread.monad left))))
+ (:sharing [a]
+ (Equivalence a)
+ ==
+
+ (Try a)
+ (thread.run (:assume (/.run thread.monad right))))]
[(#try.Success left) (#try.Success right)]
(== left right)