aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/meta/macro/context.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/meta/macro/context.lux')
-rw-r--r--stdlib/source/test/lux/meta/macro/context.lux19
1 files changed, 6 insertions, 13 deletions
diff --git a/stdlib/source/test/lux/meta/macro/context.lux b/stdlib/source/test/lux/meta/macro/context.lux
index 095fed836..49ebbe6db 100644
--- a/stdlib/source/test/lux/meta/macro/context.lux
+++ b/stdlib/source/test/lux/meta/macro/context.lux
@@ -113,19 +113,12 @@
[_ (/.revised {.#None} ++ <real_stack>)]
(in (list)))))))
(_.coverage [/.not_a_definition]
- (and (<| (text.contains? (the exception.#label /.not_a_definition))
- macro_error
- static.expansion
- (do meta.monad
- [actual (/.peek' [<real_stack> (symbol <fake_stack>)])]
- (in (list))))
- (with_expansions [<expected> (static.random_nat)]
- (<| (text.contains? (the exception.#label /.not_a_definition))
- macro_error
- static.expansion
- (do meta.monad
- [_ (/.push' <expected> [<real_stack> (symbol .#Item)])]
- (in (list)))))))
+ (<| (text.contains? (the exception.#label /.not_a_definition))
+ macro_error
+ static.expansion
+ (do meta.monad
+ [actual (/.peek' [<real_stack> (symbol <fake_stack>)])]
+ (in (list)))))
(_.coverage [/.not_a_global]
(with_expansions [<expected> (static.random_nat)]
(<| (text.contains? (the exception.#label /.not_a_global))