diff options
author | Eduardo Julian | 2019-06-20 22:32:59 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-06-20 22:32:59 -0400 |
commit | b71b861008381626633bf28b033cd866d7e4e0b7 (patch) | |
tree | 3ee21cd21e6dd80f6fcdf90173bbd6162b616d8f /stdlib/source/test/lux/control/concurrency/actor.lux | |
parent | fcee38da766a683ed5569978be153c6e7a8ae0af (diff) |
Improved the convention for using text formatters.
Diffstat (limited to 'stdlib/source/test/lux/control/concurrency/actor.lux')
-rw-r--r-- | stdlib/source/test/lux/control/concurrency/actor.lux | 6 |
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 |