From 9ded5dc78de471baa2926521a1e55fa7dce93b01 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 15 Jan 2015 23:27:50 -0800 Subject: [PATCH] Minor stye nit in `_.isEqual` test. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 7f5490fa9..65cf0d17f 100644 --- a/test/test.js +++ b/test/test.js @@ -6653,7 +6653,7 @@ test('should perform comparisons between typed arrays', 1, function() { var pairs = _.map(typedArrays, function(type, index) { - var otherType = typedArrays[++index % typedArrays.length], + var otherType = typedArrays[(index + 1) % typedArrays.length], CtorA = root[type] || function(n) { this.n = n; }, CtorB = root[otherType] || function(n) { this.n = n; }, bufferA = root[type] ? new ArrayBuffer(8) : 8,