aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/parser/text.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/control/parser/text.lux')
-rw-r--r--stdlib/source/test/lux/control/parser/text.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/test/lux/control/parser/text.lux b/stdlib/source/test/lux/control/parser/text.lux
index 35c509e00..7be2416d0 100644
--- a/stdlib/source/test/lux/control/parser/text.lux
+++ b/stdlib/source/test/lux/control/parser/text.lux
@@ -157,11 +157,11 @@
(random.set n.hash num_options)
(\ ! map (|>> set.list
(list\map text.of_char)
- (text.join_with ""))))
+ text.joined)))
expected (\ ! map (function (_ value)
(|> options
(text.char (n.% num_options value))
- maybe.assume))
+ maybe.trusted))
random.nat)
invalid (random.only (function (_ char)
(not (text.contains? (text.of_char char) options)))
@@ -183,11 +183,11 @@
(random.set n.hash num_options)
(\ ! map (|>> set.list
(list\map text.of_char)
- (text.join_with ""))))
+ text.joined)))
invalid (\ ! map (function (_ value)
(|> options
(text.char (n.% num_options value))
- maybe.assume))
+ maybe.trusted))
random.nat)
expected (random.only (function (_ char)
(not (text.contains? (text.of_char char) options)))