aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2018-07-21 23:05:01 -0400
committerEduardo Julian2018-07-21 23:05:01 -0400
commit22d10692d87ac1c07fc14f6100917b913bb0f8b3 (patch)
tree61864188bf4521ab26825f85128b989d2ea202bf /stdlib/test
parent2746f1a2d7606e3295e12e9c2e6833663658ffa8 (diff)
Re-named "name-for" to "name-of".
Diffstat (limited to '')
-rw-r--r--stdlib/test/test/lux/data/name.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/test/test/lux/data/name.lux b/stdlib/test/test/lux/data/name.lux
index 296e9c1bf..5c6311100 100644
--- a/stdlib/test/test/lux/data/name.lux
+++ b/stdlib/test/test/lux/data/name.lux
@@ -61,13 +61,13 @@
(let [(^open "&/.") &.Equivalence<Name>]
($_ seq
(test "Can obtain Name from identifier."
- (and (&/= ["lux" "yolo"] (name-for .yolo))
- (&/= ["test/lux/data/name" "yolo"] (name-for ..yolo))
- (&/= ["" "yolo"] (name-for yolo))
- (&/= ["lux/test" "yolo"] (name-for lux/test.yolo))))
+ (and (&/= ["lux" "yolo"] (name-of .yolo))
+ (&/= ["test/lux/data/name" "yolo"] (name-of ..yolo))
+ (&/= ["" "yolo"] (name-of yolo))
+ (&/= ["lux/test" "yolo"] (name-of lux/test.yolo))))
(test "Can obtain Name from tag."
- (and (&/= ["lux" "yolo"] (name-for #.yolo))
- (&/= ["test/lux/data/name" "yolo"] (name-for #..yolo))
- (&/= ["" "yolo"] (name-for #yolo))
- (&/= ["lux/test" "yolo"] (name-for #lux/test.yolo)))))))
+ (and (&/= ["lux" "yolo"] (name-of #.yolo))
+ (&/= ["test/lux/data/name" "yolo"] (name-of #..yolo))
+ (&/= ["" "yolo"] (name-of #yolo))
+ (&/= ["lux/test" "yolo"] (name-of #lux/test.yolo)))))))