diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/meta/target/lua.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/lux/meta/target/lua.lux b/stdlib/source/test/lux/meta/target/lua.lux index 9b2cd6642..6d1ba7cb3 100644 --- a/stdlib/source/test/lux/meta/target/lua.lux +++ b/stdlib/source/test/lux/meta/target/lua.lux @@ -58,7 +58,7 @@ (|> /.nil /.code ..load - (pipe.case + (pipe.when {.#None} true {.#Some _} false))) (_.coverage [/.boolean] @@ -432,7 +432,7 @@ (/.for_in (list $index $input) (/.ipairs/1 (/.array (list.repeated full_iterations $input))) (all /.then (/.when (/.> expected_iterations $index) - /.break) + /.break) (/.set (list $output) (/.+ $input $output)))) (/.return $output)) (/.closure (list $input)) @@ -446,7 +446,7 @@ (/.while (/.< full_iterations $index) (all /.then (/.when (/.= expected_iterations $index) - /.break) + /.break) (/.set (list $output) (/.+ $input $output)) (/.set (list $index) (/.+ (/.int +1) $index)) )) @@ -460,7 +460,7 @@ (/.repeat (/.= full_iterations $index) (all /.then (/.when (/.= expected_iterations $index) - /.break) + /.break) (/.set (list $output) (/.+ $input $output)) (/.set (list $index) (/.+ (/.int +1) $index)) )) @@ -473,7 +473,7 @@ (/.for_step $index (/.int +0) full_iterations (/.int +1) (all /.then (/.when (/.= expected_iterations $index) - /.break) + /.break) (/.set (list $output) (/.+ $input $output)))) (/.return $output)) (/.closure (list $input)) @@ -660,7 +660,7 @@ (expression (|>> (as Frac) (f.= (if ??? float/0 float/1))) (|> (all /.then (/.when (/.boolean ???) - (/.return (/.float float/0))) + (/.return (/.float float/0))) (/.return (/.float float/1))) (/.closure (list)) (/.apply (list))))) |