diff options
author | Eduardo Julian | 2018-08-02 23:50:44 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-08-02 23:50:44 -0400 |
commit | 5662ec063a1019518d5c1714d9c1ea42c7684737 (patch) | |
tree | 2a7b3984eba60be388f53f2debdfdf3f4d5afe61 /stdlib/test | |
parent | a8979a7b1ed69740eb6c7c00c934e2fadd129322 (diff) |
Replace the error-prone "n/range" calls with "indices".
Diffstat (limited to '')
-rw-r--r-- | stdlib/test/test/lux/data/collection/array.lux | 2 |
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) |