diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/control/io.lux | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/control/io.lux b/stdlib/source/test/lux/control/io.lux index 4e000d39c..fb5d3e67b 100644 --- a/stdlib/source/test/lux/control/io.lux +++ b/stdlib/source/test/lux/control/io.lux @@ -9,7 +9,10 @@ [/ ["$." functor (#+ Injection Comparison)] ["$." apply] - ["$." monad]]}]] + ["$." monad]]}] + [data + [number + ["n" nat]]]] {1 ["." / (#+ IO) [// @@ -36,7 +39,7 @@ ($monad.spec ..injection ..comparison /.monad) (_.test "Can execute computations designated as I/O computations." - (n/= sample (/.run (/.io sample)))) + (n.= sample (/.run (/.io sample)))) (_.test "I/O operations won't execute unless they are explicitly run." (exec (/.exit exit-code) true)))))) |