aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/test/test/lux.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/test/test/lux.lux b/stdlib/test/test/lux.lux
index 72b9f45ef..0e41a961c 100644
--- a/stdlib/test/test/lux.lux
+++ b/stdlib/test/test/lux.lux
@@ -6,6 +6,7 @@
[data
[number
["." i64]]]
+ ["." function]
["." math
["r" random (#+ Random) ("r/." Functor<Random>)]]
["_" test (#+ Test)]]
@@ -21,8 +22,8 @@
($_ _.and
(_.test "Every value is identical to itself."
(is? self self))
- (_.test "The 'id' function doesn't change values in any way."
- (is? self (id self)))
+ (_.test "The identity function doesn't change values in any way."
+ (is? self (function.identity self)))
(do @
[other (r.unicode 1)]
(_.test "Values created separately can't be identical."