aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data')
-rw-r--r--stdlib/source/test/lux/data/format/json.lux2
-rw-r--r--stdlib/source/test/lux/data/format/xml.lux16
-rw-r--r--stdlib/source/test/lux/data/text/regex.lux2
3 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/source/test/lux/data/format/json.lux b/stdlib/source/test/lux/data/format/json.lux
index f12831ab8..f3d3b9b93 100644
--- a/stdlib/source/test/lux/data/format/json.lux
+++ b/stdlib/source/test/lux/data/format/json.lux
@@ -58,7 +58,7 @@
(syntax: (string [])
(do meta.monad
- [value (macro.identifier "string")]
+ [value (macro.symbol "string")]
(in (list (code.text (%.code value))))))
(def: .public test
diff --git a/stdlib/source/test/lux/data/format/xml.lux b/stdlib/source/test/lux/data/format/xml.lux
index 840455f41..4c56dc5e2 100644
--- a/stdlib/source/test/lux/data/format/xml.lux
+++ b/stdlib/source/test/lux/data/format/xml.lux
@@ -1,6 +1,6 @@
(.module:
[library
- [lux {"-" char}
+ [lux {"-" char symbol}
["_" test {"+" Test}]
[abstract
[monad {"+" Monad do}]
@@ -51,7 +51,7 @@
[size (..size bottom top)]
(random.text ..char size)))
-(def: identifier
+(def: symbol
(Random Symbol)
(random.and (..text 0 10)
(..text 1 10)))
@@ -63,8 +63,8 @@
(do random.monad
[size (..size 0 2)]
($_ random.and
- ..identifier
- (random.dictionary symbol.hash size ..identifier (..text 0 10))
+ ..symbol
+ (random.dictionary symbol.hash size ..symbol (..text 0 10))
(random.list size random)))))))
(def: .public test
@@ -78,14 +78,14 @@
($codec.spec /.equivalence /.codec ..random))
(do [! random.monad]
- [(^@ identifier [namespace name]) ..identifier]
+ [(^@ symbol [namespace name]) ..symbol]
(`` ($_ _.and
(~~ (template [<type> <format>]
[(_.cover [<type> <format>]
(and (text#= name (<format> ["" name]))
- (let [identifier (<format> identifier)]
- (and (text.starts_with? namespace identifier)
- (text.ends_with? name identifier)))))]
+ (let [symbol (<format> symbol)]
+ (and (text.starts_with? namespace symbol)
+ (text.ends_with? name symbol)))))]
[/.Tag /.tag]
[/.Attribute /.attribute]
diff --git a/stdlib/source/test/lux/data/text/regex.lux b/stdlib/source/test/lux/data/text/regex.lux
index 2eb5ad7e0..eeb1c9b18 100644
--- a/stdlib/source/test/lux/data/text/regex.lux
+++ b/stdlib/source/test/lux/data/text/regex.lux
@@ -55,7 +55,7 @@
(syntax: (should_check [pattern <code>.any
regex <code>.any
input <code>.any])
- (macro.with_identifiers [g!message g!_]
+ (macro.with_symbols [g!message g!_]
(in (list (` (|> (~ input)
(<text>.result (~ regex))
(case> (^ {try.#Success (~ pattern)})