diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md index f1ea79d45bb4..1a6d57494e2a 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md @@ -215,8 +215,8 @@ static double random_uniform( const double min, const double max ) { } int main( void ) { - double x; double sigma; + double x; double y; int i; diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/benchmark/c/benchmark.c index d8e3caffd48f..a0dca5ffeffc 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/benchmark/c/benchmark.c @@ -93,9 +93,9 @@ static double random_uniform( const double min, const double max ) { * @return elapsed time in seconds */ static double benchmark( void ) { - double elapsed; - double x[ 100 ]; double sigma[ 100 ]; + double x[ 100 ]; + double elapsed; double y; double t; int i; diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/src/main.c index 636d3ab68864..f32cd0612469 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/src/main.c @@ -44,7 +44,7 @@ double stdlib_base_dists_rayleigh_cdf( const double x, const double sigma ) { if ( sigma == 0.0 ) { return ( x < 0.0 ) ? 0.0 : 1.0; } - if ( x < 0.0) { + if ( x < 0.0 ) { return 0.0; } s2 = stdlib_base_pow( sigma, 2.0 ); diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/logpdf/test/test.logpdf.js b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/logpdf/test/test.logpdf.js index ffb11d08ba0e..34257add57a2 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/logpdf/test/test.logpdf.js +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/logpdf/test/test.logpdf.js @@ -114,7 +114,7 @@ tape( 'the function evaluates the logpdf for `x` given small scale parameter `si sigma = smallScale.sigma; for ( i = 0; i < x.length; i++ ) { y = logpdf( x[i], sigma[i] ); - if ( expected[i] !== null) { + if ( expected[i] !== null ) { if ( y === expected[i] ) { t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] ); } else { diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.native.js index 979e0a5719cf..6c71091b7402 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.native.js @@ -123,7 +123,7 @@ tape( 'the function evaluates the pdf for `x` given small scale parameter `sigma sigma = smallScale.sigma; for ( i = 0; i < x.length; i++ ) { y = pdf( x[i], sigma[i] ); - if ( expected[i] !== null) { + if ( expected[i] !== null ) { if ( y === expected[i] ) { t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] ); } else { diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.pdf.js b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.pdf.js index 58033a697e31..717e2bb743e7 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.pdf.js +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.pdf.js @@ -114,7 +114,7 @@ tape( 'the function evaluates the pdf for `x` given small scale parameter `sigma sigma = smallScale.sigma; for ( i = 0; i < x.length; i++ ) { y = pdf( x[i], sigma[i] ); - if ( expected[i] !== null) { + if ( expected[i] !== null ) { if ( y === expected[i] ) { t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] ); } else { diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/quantile/test/test.quantile.js b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/quantile/test/test.quantile.js index 4353e0bcba2c..a285114667e4 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/quantile/test/test.quantile.js +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/quantile/test/test.quantile.js @@ -106,7 +106,7 @@ tape( 'the function evaluates the quantile function at `p` given small scale par sigma = smallScale.sigma; for ( i = 0; i < p.length; i++ ) { y = quantile( p[i], sigma[i] ); - if ( expected[i] !== null) { + if ( expected[i] !== null ) { if ( y === expected[i] ) { t.equal( y, expected[i], 'p: '+p[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] ); } else { diff --git a/lib/node_modules/@stdlib/stats/base/dists/signrank/quantile/test/test.quantile.js b/lib/node_modules/@stdlib/stats/base/dists/signrank/quantile/test/test.quantile.js index d8456306311f..2b4f870d9f96 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/signrank/quantile/test/test.quantile.js +++ b/lib/node_modules/@stdlib/stats/base/dists/signrank/quantile/test/test.quantile.js @@ -93,7 +93,7 @@ tape( 'the function evaluates the quantile function at `p` given `n` observation n = data.n; for ( i = 0; i < p.length; i++ ) { y = quantile( p[i], n[i] ); - if ( expected[i] !== null) { + if ( expected[i] !== null ) { if ( y === expected[i] ) { t.equal( y, expected[i], 'p: '+p[i]+', n: '+n[i]+', y: '+y+', expected: '+expected[i] ); } else { diff --git a/lib/node_modules/@stdlib/stats/kstest/lib/marsaglia.js b/lib/node_modules/@stdlib/stats/kstest/lib/marsaglia.js index a0470baee944..1ab0a05d00e7 100644 --- a/lib/node_modules/@stdlib/stats/kstest/lib/marsaglia.js +++ b/lib/node_modules/@stdlib/stats/kstest/lib/marsaglia.js @@ -155,7 +155,7 @@ function pKolmogorov( d, n ) { var z; z = new Float64Array( m * m ); - for ( i = 0; i < m; i++) { + for ( i = 0; i < m; i++ ) { for ( j = 0; j < m; j++ ) { s = 0; for ( k = 0; k < m; k++ ) { diff --git a/lib/node_modules/@stdlib/utils/any-in-by/test/test.js b/lib/node_modules/@stdlib/utils/any-in-by/test/test.js index d406477cb941..aeb03c996a1b 100644 --- a/lib/node_modules/@stdlib/utils/any-in-by/test/test.js +++ b/lib/node_modules/@stdlib/utils/any-in-by/test/test.js @@ -50,7 +50,7 @@ tape( 'the function throws an error if not provided an object', function test( t /.*/, new Date() ]; - for (i =0; i < values.length; i++) { + for ( i =0; i < values.length; i++ ) { t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] ); } t.end(); @@ -79,7 +79,7 @@ tape( 'the function throws an error if not provided a predicate function', funct /.*/, new Date() ]; - for (i =0; i < values.length; i++) { + for ( i =0; i < values.length; i++ ) { t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] ); } t.end(); @@ -108,7 +108,7 @@ tape( 'the function throws an error if predicate is not a function', function te /.*/, new Date() ]; - for (i =0; i < values.length; i++) { + for ( i =0; i < values.length; i++ ) { t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] ); } t.end(); diff --git a/lib/node_modules/@stdlib/utils/curry-right/test/test.js b/lib/node_modules/@stdlib/utils/curry-right/test/test.js index 51a7a9e1bc62..f560f054b22e 100644 --- a/lib/node_modules/@stdlib/utils/curry-right/test/test.js +++ b/lib/node_modules/@stdlib/utils/curry-right/test/test.js @@ -135,7 +135,7 @@ tape( 'the function returns a function', function test( t ) { t.end(); }); -tape( 'the function curries a function', function test( t) { +tape( 'the function curries a function', function test( t ) { var fcn; var f; diff --git a/lib/node_modules/@stdlib/utils/curry/test/test.js b/lib/node_modules/@stdlib/utils/curry/test/test.js index 990d85dd8ad0..573bb4d71f70 100644 --- a/lib/node_modules/@stdlib/utils/curry/test/test.js +++ b/lib/node_modules/@stdlib/utils/curry/test/test.js @@ -141,7 +141,7 @@ tape( 'the function returns a function', function test( t ) { t.end(); }); -tape( 'the function curries a function', function test( t) { +tape( 'the function curries a function', function test( t ) { var fcn; var f; diff --git a/lib/node_modules/@stdlib/utils/decorate-after/test/test.factory.js b/lib/node_modules/@stdlib/utils/decorate-after/test/test.factory.js index 37760a1b5596..d6c5a7583e80 100644 --- a/lib/node_modules/@stdlib/utils/decorate-after/test/test.factory.js +++ b/lib/node_modules/@stdlib/utils/decorate-after/test/test.factory.js @@ -216,7 +216,7 @@ tape( 'the function returns a function (thisArg)', function test( t ) { t.end(); }); -tape( 'the function decorates a function (nullary, transform)', function test( t) { +tape( 'the function decorates a function (nullary, transform)', function test( t ) { var fcn; var v; @@ -240,7 +240,7 @@ tape( 'the function decorates a function (nullary, transform)', function test( t } }); -tape( 'the function decorates a function (nullary, pass through)', function test( t) { +tape( 'the function decorates a function (nullary, pass through)', function test( t ) { var fcn; var v; @@ -260,7 +260,7 @@ tape( 'the function decorates a function (nullary, pass through)', function test } }); -tape( 'the function decorates a function (unary, transform)', function test( t) { +tape( 'the function decorates a function (unary, transform)', function test( t ) { var fcn; var v; @@ -284,7 +284,7 @@ tape( 'the function decorates a function (unary, transform)', function test( t) } }); -tape( 'the function decorates a function (unary, pass through)', function test( t) { +tape( 'the function decorates a function (unary, pass through)', function test( t ) { var fcn; var v; @@ -304,7 +304,7 @@ tape( 'the function decorates a function (unary, pass through)', function test( } }); -tape( 'the function decorates a function (binary, transform)', function test( t) { +tape( 'the function decorates a function (binary, transform)', function test( t ) { var fcn; var v; @@ -324,7 +324,7 @@ tape( 'the function decorates a function (binary, transform)', function test( t) } }); -tape( 'the function decorates a function (binary, pass through)', function test( t) { +tape( 'the function decorates a function (binary, pass through)', function test( t ) { var fcn; var v; @@ -340,7 +340,7 @@ tape( 'the function decorates a function (binary, pass through)', function test( t.end(); }); -tape( 'the function decorates a function (ternary, transform)', function test( t) { +tape( 'the function decorates a function (ternary, transform)', function test( t ) { var fcn; var v; @@ -361,7 +361,7 @@ tape( 'the function decorates a function (ternary, transform)', function test( t } }); -tape( 'the function decorates a function (ternary, pass through)', function test( t) { +tape( 'the function decorates a function (ternary, pass through)', function test( t ) { var fcn; var v; @@ -378,7 +378,7 @@ tape( 'the function decorates a function (ternary, pass through)', function test } }); -tape( 'the function decorates a function (quaternary, transform)', function test( t) { +tape( 'the function decorates a function (quaternary, transform)', function test( t ) { var fcn; var v; @@ -399,7 +399,7 @@ tape( 'the function decorates a function (quaternary, transform)', function test } }); -tape( 'the function decorates a function (quaternary, pass through)', function test( t) { +tape( 'the function decorates a function (quaternary, pass through)', function test( t ) { var fcn; var v; @@ -416,7 +416,7 @@ tape( 'the function decorates a function (quaternary, pass through)', function t } }); -tape( 'the function decorates a function (quinary, transform)', function test( t) { +tape( 'the function decorates a function (quinary, transform)', function test( t ) { var fcn; var v; @@ -437,7 +437,7 @@ tape( 'the function decorates a function (quinary, transform)', function test( t } }); -tape( 'the function decorates a function (quinary, pass through)', function test( t) { +tape( 'the function decorates a function (quinary, pass through)', function test( t ) { var fcn; var v; @@ -454,7 +454,7 @@ tape( 'the function decorates a function (quinary, pass through)', function test } }); -tape( 'the function decorates a function (senary, transform)', function test( t) { +tape( 'the function decorates a function (senary, transform)', function test( t ) { var fcn; var v; @@ -475,7 +475,7 @@ tape( 'the function decorates a function (senary, transform)', function test( t) } }); -tape( 'the function decorates a function (senary, pass through)', function test( t) { +tape( 'the function decorates a function (senary, pass through)', function test( t ) { var fcn; var v; @@ -492,7 +492,7 @@ tape( 'the function decorates a function (senary, pass through)', function test( } }); -tape( 'the function decorates a function (septenary, transform)', function test( t) { +tape( 'the function decorates a function (septenary, transform)', function test( t ) { var fcn; var v; @@ -513,7 +513,7 @@ tape( 'the function decorates a function (septenary, transform)', function test( } }); -tape( 'the function decorates a function (septenary, pass through)', function test( t) { +tape( 'the function decorates a function (septenary, pass through)', function test( t ) { var fcn; var v; @@ -530,7 +530,7 @@ tape( 'the function decorates a function (septenary, pass through)', function te } }); -tape( 'the function decorates a function (octonary, transform)', function test( t) { +tape( 'the function decorates a function (octonary, transform)', function test( t ) { var fcn; var v; @@ -551,7 +551,7 @@ tape( 'the function decorates a function (octonary, transform)', function test( } }); -tape( 'the function decorates a function (octonary, pass through)', function test( t) { +tape( 'the function decorates a function (octonary, pass through)', function test( t ) { var fcn; var v; @@ -568,7 +568,7 @@ tape( 'the function decorates a function (octonary, pass through)', function tes } }); -tape( 'the function decorates a function (novenary, transform)', function test( t) { +tape( 'the function decorates a function (novenary, transform)', function test( t ) { var fcn; var v; @@ -589,7 +589,7 @@ tape( 'the function decorates a function (novenary, transform)', function test( } }); -tape( 'the function decorates a function (novenary, pass through)', function test( t) { +tape( 'the function decorates a function (novenary, pass through)', function test( t ) { var fcn; var v; @@ -606,7 +606,7 @@ tape( 'the function decorates a function (novenary, pass through)', function tes } }); -tape( 'the function decorates a function (denary, transform)', function test( t) { +tape( 'the function decorates a function (denary, transform)', function test( t ) { var fcn; var v; @@ -627,7 +627,7 @@ tape( 'the function decorates a function (denary, transform)', function test( t) } }); -tape( 'the function decorates a function (denary, pass through)', function test( t) { +tape( 'the function decorates a function (denary, pass through)', function test( t ) { var fcn; var v; @@ -644,7 +644,7 @@ tape( 'the function decorates a function (denary, pass through)', function test( } }); -tape( 'the function decorates a function (multary, transform)', function test( t) { +tape( 'the function decorates a function (multary, transform)', function test( t ) { var fcn; var v; @@ -665,7 +665,7 @@ tape( 'the function decorates a function (multary, transform)', function test( t } }); -tape( 'the function decorates a function (multary, pass through)', function test( t) { +tape( 'the function decorates a function (multary, pass through)', function test( t ) { var fcn; var v; diff --git a/lib/node_modules/@stdlib/utils/decorate-after/test/test.main.js b/lib/node_modules/@stdlib/utils/decorate-after/test/test.main.js index 412344f53eab..5afcea245037 100644 --- a/lib/node_modules/@stdlib/utils/decorate-after/test/test.main.js +++ b/lib/node_modules/@stdlib/utils/decorate-after/test/test.main.js @@ -216,7 +216,7 @@ tape( 'the function returns a function (thisArg)', function test( t ) { t.end(); }); -tape( 'the function decorates a function (nullary, transform)', function test( t) { +tape( 'the function decorates a function (nullary, transform)', function test( t ) { var fcn; var v; @@ -240,7 +240,7 @@ tape( 'the function decorates a function (nullary, transform)', function test( t } }); -tape( 'the function decorates a function (nullary, pass through)', function test( t) { +tape( 'the function decorates a function (nullary, pass through)', function test( t ) { var fcn; var v; @@ -260,7 +260,7 @@ tape( 'the function decorates a function (nullary, pass through)', function test } }); -tape( 'the function decorates a function (unary, transform)', function test( t) { +tape( 'the function decorates a function (unary, transform)', function test( t ) { var fcn; var v; @@ -284,7 +284,7 @@ tape( 'the function decorates a function (unary, transform)', function test( t) } }); -tape( 'the function decorates a function (unary, pass through)', function test( t) { +tape( 'the function decorates a function (unary, pass through)', function test( t ) { var fcn; var v; @@ -304,7 +304,7 @@ tape( 'the function decorates a function (unary, pass through)', function test( } }); -tape( 'the function decorates a function (binary, transform)', function test( t) { +tape( 'the function decorates a function (binary, transform)', function test( t ) { var fcn; var v; @@ -324,7 +324,7 @@ tape( 'the function decorates a function (binary, transform)', function test( t) } }); -tape( 'the function decorates a function (binary, pass through)', function test( t) { +tape( 'the function decorates a function (binary, pass through)', function test( t ) { var fcn; var v; @@ -340,7 +340,7 @@ tape( 'the function decorates a function (binary, pass through)', function test( t.end(); }); -tape( 'the function decorates a function (ternary, transform)', function test( t) { +tape( 'the function decorates a function (ternary, transform)', function test( t ) { var fcn; var v; @@ -361,7 +361,7 @@ tape( 'the function decorates a function (ternary, transform)', function test( t } }); -tape( 'the function decorates a function (ternary, pass through)', function test( t) { +tape( 'the function decorates a function (ternary, pass through)', function test( t ) { var fcn; var v; @@ -378,7 +378,7 @@ tape( 'the function decorates a function (ternary, pass through)', function test } }); -tape( 'the function decorates a function (quaternary, transform)', function test( t) { +tape( 'the function decorates a function (quaternary, transform)', function test( t ) { var fcn; var v; @@ -399,7 +399,7 @@ tape( 'the function decorates a function (quaternary, transform)', function test } }); -tape( 'the function decorates a function (quaternary, pass through)', function test( t) { +tape( 'the function decorates a function (quaternary, pass through)', function test( t ) { var fcn; var v; @@ -416,7 +416,7 @@ tape( 'the function decorates a function (quaternary, pass through)', function t } }); -tape( 'the function decorates a function (quinary, transform)', function test( t) { +tape( 'the function decorates a function (quinary, transform)', function test( t ) { var fcn; var v; @@ -437,7 +437,7 @@ tape( 'the function decorates a function (quinary, transform)', function test( t } }); -tape( 'the function decorates a function (quinary, pass through)', function test( t) { +tape( 'the function decorates a function (quinary, pass through)', function test( t ) { var fcn; var v; @@ -454,7 +454,7 @@ tape( 'the function decorates a function (quinary, pass through)', function test } }); -tape( 'the function decorates a function (senary, transform)', function test( t) { +tape( 'the function decorates a function (senary, transform)', function test( t ) { var fcn; var v; @@ -475,7 +475,7 @@ tape( 'the function decorates a function (senary, transform)', function test( t) } }); -tape( 'the function decorates a function (senary, pass through)', function test( t) { +tape( 'the function decorates a function (senary, pass through)', function test( t ) { var fcn; var v; @@ -492,7 +492,7 @@ tape( 'the function decorates a function (senary, pass through)', function test( } }); -tape( 'the function decorates a function (septenary, transform)', function test( t) { +tape( 'the function decorates a function (septenary, transform)', function test( t ) { var fcn; var v; @@ -513,7 +513,7 @@ tape( 'the function decorates a function (septenary, transform)', function test( } }); -tape( 'the function decorates a function (septenary, pass through)', function test( t) { +tape( 'the function decorates a function (septenary, pass through)', function test( t ) { var fcn; var v; @@ -530,7 +530,7 @@ tape( 'the function decorates a function (septenary, pass through)', function te } }); -tape( 'the function decorates a function (octonary, transform)', function test( t) { +tape( 'the function decorates a function (octonary, transform)', function test( t ) { var fcn; var v; @@ -551,7 +551,7 @@ tape( 'the function decorates a function (octonary, transform)', function test( } }); -tape( 'the function decorates a function (octonary, pass through)', function test( t) { +tape( 'the function decorates a function (octonary, pass through)', function test( t ) { var fcn; var v; @@ -568,7 +568,7 @@ tape( 'the function decorates a function (octonary, pass through)', function tes } }); -tape( 'the function decorates a function (novenary, transform)', function test( t) { +tape( 'the function decorates a function (novenary, transform)', function test( t ) { var fcn; var v; @@ -589,7 +589,7 @@ tape( 'the function decorates a function (novenary, transform)', function test( } }); -tape( 'the function decorates a function (novenary, pass through)', function test( t) { +tape( 'the function decorates a function (novenary, pass through)', function test( t ) { var fcn; var v; @@ -606,7 +606,7 @@ tape( 'the function decorates a function (novenary, pass through)', function tes } }); -tape( 'the function decorates a function (denary, transform)', function test( t) { +tape( 'the function decorates a function (denary, transform)', function test( t ) { var fcn; var v; @@ -627,7 +627,7 @@ tape( 'the function decorates a function (denary, transform)', function test( t) } }); -tape( 'the function decorates a function (denary, pass through)', function test( t) { +tape( 'the function decorates a function (denary, pass through)', function test( t ) { var fcn; var v; @@ -644,7 +644,7 @@ tape( 'the function decorates a function (denary, pass through)', function test( } }); -tape( 'the function decorates a function (multary, transform)', function test( t) { +tape( 'the function decorates a function (multary, transform)', function test( t ) { var fcn; var v; @@ -665,7 +665,7 @@ tape( 'the function decorates a function (multary, transform)', function test( t } }); -tape( 'the function decorates a function (multary, pass through)', function test( t) { +tape( 'the function decorates a function (multary, pass through)', function test( t ) { var fcn; var v; diff --git a/lib/node_modules/@stdlib/utils/named-typed-tuple/benchmark/benchmark.tuple_instantiation.js b/lib/node_modules/@stdlib/utils/named-typed-tuple/benchmark/benchmark.tuple_instantiation.js index aaed8503604c..ef04f23749b2 100644 --- a/lib/node_modules/@stdlib/utils/named-typed-tuple/benchmark/benchmark.tuple_instantiation.js +++ b/lib/node_modules/@stdlib/utils/named-typed-tuple/benchmark/benchmark.tuple_instantiation.js @@ -217,7 +217,7 @@ bench( pkg+'::instantiation,iterable', opts, function benchmark( b ) { function next() { i += 1; - if ( i <= 2) { + if ( i <= 2 ) { return { 'value': 1.0 }; @@ -269,7 +269,7 @@ bench( pkg+'::instantiation,iterable,dtype', opts, function benchmark( b ) { function next() { i += 1; - if ( i <= 2) { + if ( i <= 2 ) { return { 'value': 1.0 }; diff --git a/lib/node_modules/@stdlib/utils/none-in-by/test/test.js b/lib/node_modules/@stdlib/utils/none-in-by/test/test.js index 19f7d01971f1..bda22ab0a4ea 100644 --- a/lib/node_modules/@stdlib/utils/none-in-by/test/test.js +++ b/lib/node_modules/@stdlib/utils/none-in-by/test/test.js @@ -58,7 +58,7 @@ tape( 'the function throws an error if not provided an object', function test( t new Date() ]; - for (i = 0; i < values.length; i++) { + for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] ); } t.end(); @@ -103,7 +103,7 @@ tape( 'if provided an empty object, the function returns `true`', function test( t.end(); }); -tape('the function returns `true` if every property fails a test ', function test(t) { +tape('the function returns `true` if every property fails a test ', function test( t ) { var bool; var obj = { diff --git a/lib/node_modules/@stdlib/utils/none-own-by/lib/main.js b/lib/node_modules/@stdlib/utils/none-own-by/lib/main.js index 6af9ad13b40a..e2130d1ab35e 100644 --- a/lib/node_modules/@stdlib/utils/none-own-by/lib/main.js +++ b/lib/node_modules/@stdlib/utils/none-own-by/lib/main.js @@ -39,7 +39,7 @@ var format = require( '@stdlib/string/format' ); * @returns {boolean} boolean indicating whether all elements fail a test * * @example -* function isUnderage(age) { +* function isUnderage( age ) { * return ( age < 18 ); * }; * @@ -62,7 +62,7 @@ function noneOwnBy( obj, predicate, thisArg ) { throw new TypeError( format( 'invalid argument. Second argument must be a function. Value: `%s`.', predicate ) ); } for ( key in obj ) { - if (hasOwnProp( obj, key ) && predicate.call( thisArg, obj[key], key, obj)) { + if ( hasOwnProp( obj, key ) && predicate.call( thisArg, obj[key], key, obj ) ) { return false; } } diff --git a/lib/node_modules/@stdlib/utils/none-own-by/test/test.js b/lib/node_modules/@stdlib/utils/none-own-by/test/test.js index 82a0fc7d7d84..eac557e482e6 100644 --- a/lib/node_modules/@stdlib/utils/none-own-by/test/test.js +++ b/lib/node_modules/@stdlib/utils/none-own-by/test/test.js @@ -50,7 +50,7 @@ tape( 'the function throws an error if not provided an object', function test( t /.*/, new Date() ]; - for (i =0; i < values.length; i++) { + for ( i =0; i < values.length; i++ ) { t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] ); } t.end(); diff --git a/lib/node_modules/@stdlib/utils/papply-right/test/test.js b/lib/node_modules/@stdlib/utils/papply-right/test/test.js index 74cfc82cfc1c..79c50d63b4ab 100644 --- a/lib/node_modules/@stdlib/utils/papply-right/test/test.js +++ b/lib/node_modules/@stdlib/utils/papply-right/test/test.js @@ -73,7 +73,7 @@ tape( 'the function returns a function', function test( t ) { t.end(); }); -tape( 'the function partially applies function arguments', function test( t) { +tape( 'the function partially applies function arguments', function test( t ) { var fcn = papplyRight( say, 'Grace Hopper' ); t.strictEqual( fcn( 'Hello' ), 'Hello, Grace Hopper.', 'returned function returns partial application results' ); diff --git a/lib/node_modules/@stdlib/utils/papply/test/test.js b/lib/node_modules/@stdlib/utils/papply/test/test.js index 71f6661a723e..fedf3c2d8c9f 100644 --- a/lib/node_modules/@stdlib/utils/papply/test/test.js +++ b/lib/node_modules/@stdlib/utils/papply/test/test.js @@ -73,7 +73,7 @@ tape( 'the function returns a function', function test( t ) { t.end(); }); -tape( 'the function partially applies function arguments', function test( t) { +tape( 'the function partially applies function arguments', function test( t ) { var fcn = papply( add, 2 ); t.strictEqual( fcn( 3 ), 5, 'returned function returns partial application results' );