From bea1fccab6827c9babbd7a4366b63b6f8091b94a Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Mon, 18 Dec 2023 06:25:27 +0000 Subject: [PATCH] Auto-generated commit --- complex64/test/test.every.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/complex64/test/test.every.js b/complex64/test/test.every.js index 4b303740..00620229 100644 --- a/complex64/test/test.every.js +++ b/complex64/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 ) ); + } });