aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/program.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/program.lux')
-rw-r--r--stdlib/source/test/lux/program.lux22
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/test/lux/program.lux b/stdlib/source/test/lux/program.lux
index f2aafead6..d780d38c9 100644
--- a/stdlib/source/test/lux/program.lux
+++ b/stdlib/source/test/lux/program.lux
@@ -35,10 +35,10 @@
(let [(open "list#[0]") (list.equivalence text.equivalence)]
(and (with_expansions [<program> (/.program: all_arguments
(io.io all_arguments))]
- (let [outcome ((: (-> (List Text) (io.IO Any))
- (..actual_program <program>))
+ (let [outcome ((is (-> (List Text) (io.IO Any))
+ (..actual_program <program>))
inputs)]
- (same? (: Any inputs)
+ (same? (is Any inputs)
(io.run! outcome))))
(with_expansions [<program> (/.program: [arg/0 <cli>.any
arg/1 <cli>.any
@@ -46,25 +46,25 @@
arg/3 <cli>.any
arg/4 <cli>.any]
(io.io (list arg/4 arg/3 arg/2 arg/1 arg/0)))]
- (let [outcome ((: (-> (List Text) (io.IO Any))
- (..actual_program <program>))
+ (let [outcome ((is (-> (List Text) (io.IO Any))
+ (..actual_program <program>))
inputs)]
(list#= (list.reversed inputs)
- (:as (List Text) (io.run! outcome)))))
+ (as (List Text) (io.run! outcome)))))
(with_expansions [<program> (/.program: [all_arguments (<>.many <cli>.any)]
(io.io all_arguments))]
- (let [outcome ((: (-> (List Text) (io.IO Any))
- (..actual_program <program>))
+ (let [outcome ((is (-> (List Text) (io.IO Any))
+ (..actual_program <program>))
inputs)]
(list#= inputs
- (:as (List Text) (io.run! outcome)))))
+ (as (List Text) (io.run! outcome)))))
(with_expansions [<program> (/.program: [arg/0 <cli>.any
arg/1 <cli>.any
arg/2 <cli>.any
arg/3 <cli>.any]
(io.io []))]
- (case (try ((: (-> (List Text) (io.IO Any))
- (..actual_program <program>))
+ (case (try ((is (-> (List Text) (io.IO Any))
+ (..actual_program <program>))
inputs))
{try.#Success _}
false