diff options
Diffstat (limited to 'stdlib/source/test/lux/data')
-rw-r--r-- | stdlib/source/test/lux/data/format/json.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/data/text/regex.lux | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/data/format/json.lux b/stdlib/source/test/lux/data/format/json.lux index 4f14375d9..091f64b67 100644 --- a/stdlib/source/test/lux/data/format/json.lux +++ b/stdlib/source/test/lux/data/format/json.lux @@ -25,7 +25,7 @@ [number ["n" nat] ["." frac]]] - [macro + ["." macro ["." syntax (#+ syntax:)] ["." code]]] {1 @@ -58,7 +58,7 @@ (syntax: (string) (do meta.monad - [value (meta.gensym "string")] + [value (macro.gensym "string")] (wrap (list (code.text (%.code value)))))) (def: #export test diff --git a/stdlib/source/test/lux/data/text/regex.lux b/stdlib/source/test/lux/data/text/regex.lux index 2cdead181..fd82fdee5 100644 --- a/stdlib/source/test/lux/data/text/regex.lux +++ b/stdlib/source/test/lux/data/text/regex.lux @@ -15,8 +15,7 @@ [math [number (#+ hex)] ["." random]] - ["." meta] - [macro + ["." macro [syntax (#+ syntax:)]]] {1 ["." /]}) @@ -52,7 +51,7 @@ false))) (syntax: (should_check pattern regex input) - (meta.with_gensyms [g!message g!_] + (macro.with_gensyms [g!message g!_] (wrap (list (` (|> (~ input) (<text>.run (~ regex)) (case> (^ (#try.Success (~ pattern))) |