aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/concurrency/actor.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/control/concurrency/actor.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/control/concurrency/actor.lux b/stdlib/source/test/lux/control/concurrency/actor.lux
index a39f7b039..017ee60ef 100644
--- a/stdlib/source/test/lux/control/concurrency/actor.lux
+++ b/stdlib/source/test/lux/control/concurrency/actor.lux
@@ -8,7 +8,7 @@
[data
["." error]
[text
- format]]
+ ["%" format (#+ format)]]]
[math
["r" random]]]
{1
@@ -28,7 +28,7 @@
((stop cause state)
(promise;wrap (log! (if (ex.match? /.poisoned cause)
- (format "Counter was poisoned: " (%n state))
+ (format "Counter was poisoned: " (%.nat state))
cause)))))
(message: #export Counter
@@ -40,7 +40,7 @@
Test
(do r.monad
[_ (wrap [])]
- (<| (_.context (%name (name-of /.Actor)))
+ (<| (_.context (%.name (name-of /.Actor)))
($_ _.and
(_.test "Can check if an actor is alive."
(io.run (do io.monad