aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/collection/tree/finger.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/collection/tree/finger.lux')
-rw-r--r--stdlib/source/test/lux/data/collection/tree/finger.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/data/collection/tree/finger.lux b/stdlib/source/test/lux/data/collection/tree/finger.lux
index 53631edbf..5ec0569bb 100644
--- a/stdlib/source/test/lux/data/collection/tree/finger.lux
+++ b/stdlib/source/test/lux/data/collection/tree/finger.lux
@@ -45,7 +45,7 @@
(_.cover [/.tag]
(and (text\= tag_left
(/.tag (\ ..builder leaf tag_left expected_left)))
- (text\= (text\compose tag_left tag_right)
+ (text\= (text\composite tag_left tag_right)
(/.tag (\ ..builder branch
(\ ..builder leaf tag_left expected_left)
(\ ..builder leaf tag_right expected_right))))))
@@ -96,13 +96,13 @@
(let [can_find_correct_one!
(|> (\ ..builder leaf tag_left expected_left)
(/.one (text.contains? tag_left))
- (maybe\map (n.= expected_left))
+ (maybe\each (n.= expected_left))
(maybe.else false))
cannot_find_incorrect_one!
(|> (\ ..builder leaf tag_right expected_right)
(/.one (text.contains? tag_left))
- (maybe\map (n.= expected_left))
+ (maybe\each (n.= expected_left))
(maybe.else false)
not)
@@ -111,7 +111,7 @@
(\ ..builder leaf tag_left expected_left)
(\ ..builder leaf tag_right expected_right))
(/.one (text.contains? tag_left))
- (maybe\map (n.= expected_left))
+ (maybe\each (n.= expected_left))
(maybe.else false))
can_find_right!
@@ -119,7 +119,7 @@
(\ ..builder leaf tag_left expected_left)
(\ ..builder leaf tag_right expected_right))
(/.one (text.contains? tag_right))
- (maybe\map (n.= expected_right))
+ (maybe\each (n.= expected_right))
(maybe.else false))]
(and can_find_correct_one!
cannot_find_incorrect_one!