aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/parser/tree.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/control/parser/tree.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/control/parser/tree.lux b/stdlib/source/test/lux/control/parser/tree.lux
index e330464b4..4b3bf2cad 100644
--- a/stdlib/source/test/lux/control/parser/tree.lux
+++ b/stdlib/source/test/lux/control/parser/tree.lux
@@ -30,7 +30,7 @@
(template: (!cover <coverage> <parser> <sample>)
(do {! random.monad}
[dummy random.nat
- expected (|> random.nat (random.filter (|>> (n.= dummy) not)))]
+ expected (|> random.nat (random.only (|>> (n.= dummy) not)))]
(_.cover <coverage>
(|> (/.run <parser>
<sample>)
@@ -40,7 +40,7 @@
(template: (!cover/2 <coverage> <parser> <sample0> <sample1>)
(do {! random.monad}
[dummy random.nat
- expected (|> random.nat (random.filter (|>> (n.= dummy) not)))]
+ expected (|> random.nat (random.only (|>> (n.= dummy) not)))]
(_.cover <coverage>
(and (|> (/.run <parser> <sample0>)
(!expect (^multi (#try.Success actual)