aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/target/python.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/target/python.lux17
1 files changed, 2 insertions, 15 deletions
diff --git a/stdlib/source/test/lux/target/python.lux b/stdlib/source/test/lux/target/python.lux
index 49d74c1b3..e936ba850 100644
--- a/stdlib/source/test/lux/target/python.lux
+++ b/stdlib/source/test/lux/target/python.lux
@@ -29,25 +29,12 @@
(def: (expression ??? it)
(-> (-> Any Bit) (/.Expression Any) Bit)
- ... (case (|> it /.code ..eval)
- ... {try.#Success it}
- ... (|> it
- ... (maybe#each ???)
- ... (maybe.else false))
-
- ... {try.#Failure error}
- ... (exec
- ... ("lux io log" "try.#Failure")
- ... ("lux io log" error)
- ... ("lux io log" (|> it /.code))
- ... false))
(|> it
/.code
..eval
(try#each (|>> (maybe#each ???)
(maybe.else false)))
- (try.else false))
- )
+ (try.else false)))
(def: test|literal
Test
@@ -64,7 +51,7 @@
(try#each (function (_ it)
(case it
{.#None} true
- {.#Some _} true)))
+ {.#Some _} false)))
(try.else false)))
(_.cover [/.bool]
(expression (|>> (:as Bit) (bit#= bool))