Skip to content

Commit c04094b

Browse files
committed
fixed test.variancewd.js ESLint issue
1 parent cff0bb3 commit c04094b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/node_modules/@stdlib/stats/base/variancewd/test/test.variancewd.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var Float64Array = require( '@stdlib/array/float64' );
2727
var variancewd = require( './../lib/variancewd.js' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -84,7 +85,11 @@ tape( 'handles edge cases for N and correction values', function test( t ) {
8485
t.strictEqual( isnan( variancewd( 0, 1, x, 1 ) ), true, 'N=0 returns NaN' );
8586
t.strictEqual( isnan( variancewd( -1, 1, x, 1 ) ), true, 'N<0 returns NaN' );
8687
t.strictEqual( variancewd( 1, 0, x, 1 ), 0.0, 'N=1 returns 0 variance' );
87-
t.strictEqual( isnan( variancewd( x.length, x.length, x, 1 ) ), true, 'invalid correction returns NaN' );
88+
t.strictEqual(
89+
isnan( variancewd( x.length, x.length, x, 1 ) ),
90+
true,
91+
'invalid correction returns NaN'
92+
);
8893
t.end();
8994
});
9095

0 commit comments

Comments
 (0)