From ed7e7b78a38ac4f71341cf366e914a58873fa97c Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Mon, 18 Dec 2023 06:25:16 +0000 Subject: [PATCH] Auto-generated commit --- test/test.every.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test.every.js b/test/test.every.js index ae27d45..96b936d 100644 --- a/test/test.every.js +++ b/test/test.every.js @@ -157,11 +157,6 @@ tape( 'the method supports providing an execution context', function test( t ) { var ctx; var arr; - function predicate( v ) { - this.count += 1; // eslint-disable-line no-invalid-this - return ( imagf( v ) === realf( v ) ); - } - ctx = { 'count': 0 }; @@ -172,4 +167,9 @@ tape( 'the method supports providing an execution context', function test( t ) { t.strictEqual( ctx.count, 3, 'returns expected value'); t.end(); + + function predicate( v ) { + this.count += 1; // eslint-disable-line no-invalid-this + return ( imagf( v ) === realf( v ) ); + } });