From 5662ec063a1019518d5c1714d9c1ea42c7684737 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 2 Aug 2018 23:50:44 -0400 Subject: Replace the error-prone "n/range" calls with "indices". --- stdlib/test/test/lux/data/collection/array.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/test') 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) -- cgit v1.2.3