aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2018-08-02 23:50:44 -0400
committerEduardo Julian2018-08-02 23:50:44 -0400
commit5662ec063a1019518d5c1714d9c1ea42c7684737 (patch)
tree2a7b3984eba60be388f53f2debdfdf3f4d5afe61 /stdlib/test
parenta8979a7b1ed69740eb6c7c00c934e2fadd129322 (diff)
Replace the error-prone "n/range" calls with "indices".
Diffstat (limited to 'stdlib/test')
-rw-r--r--stdlib/test/test/lux/data/collection/array.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/test/test/lux/data/collection/array.lux b/stdlib/test/test/lux/data/collection/array.lux
index ac3061464..f1421f7ea 100644
--- a/stdlib/test/test/lux/data/collection/array.lux
+++ b/stdlib/test/test/lux/data/collection/array.lux
@@ -73,7 +73,7 @@
(and (n/= size (@.occupied array))
(n/= 0 (@.vacant array))))
(test "Filtering mutates the array to remove invalid values."
- (exec (@.filter n/even? array)
+ (exec (@.filter! n/even? array)
(and (n/< size (@.occupied array))
(n/> 0 (@.vacant array))
(n/= size (n/+ (@.occupied array)