From bc8ae6e0aeca3fd446367091ea1f2549e6087a9f Mon Sep 17 00:00:00 2001 From: Leonardo Balter Date: Thu, 21 Apr 2016 12:58:37 -0400 Subject: [PATCH] Fix test for TypedArray.prototype.forEach --- .../prototype/forEach/callbackfn-not-called-on-empty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/TypedArray/prototype/forEach/callbackfn-not-called-on-empty.js b/test/built-ins/TypedArray/prototype/forEach/callbackfn-not-called-on-empty.js index da9b0262fd..2b07c8c7a7 100644 --- a/test/built-ins/TypedArray/prototype/forEach/callbackfn-not-called-on-empty.js +++ b/test/built-ins/TypedArray/prototype/forEach/callbackfn-not-called-on-empty.js @@ -28,7 +28,7 @@ testWithTypedArrayConstructors(function(TA) { var called = 0; var result1 = new TA().forEach(function() { - calls++; + called++; }); assert.sameValue(called, 0);