aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux/data/text/regex.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/test/test/lux/data/text/regex.lux')
-rw-r--r--stdlib/test/test/lux/data/text/regex.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/test/test/lux/data/text/regex.lux b/stdlib/test/test/lux/data/text/regex.lux
index ce18c0539..b819b99bb 100644
--- a/stdlib/test/test/lux/data/text/regex.lux
+++ b/stdlib/test/test/lux/data/text/regex.lux
@@ -12,7 +12,7 @@
[macro]
(macro [code]
["s" syntax #+ syntax:])
- ["R" math/random])
+ ["r" math/random])
lux/test)
## [Utils]
@@ -267,9 +267,9 @@
))
(context: "Pattern-matching"
- [sample1 (R;text +3)
- sample2 (R;text +3)
- sample3 (R;text +4)]
+ [sample1 (r;text +3)
+ sample2 (r;text +3)
+ sample3 (r;text +4)]
(case (format sample1 "-" sample2 "-" sample3)
(&;^regex "(.{3})-(.{3})-(.{4})"
[_ match1 match2 match3])