Skip to content

Commit 9299fde

Browse files
authored
style: disable lint rule
Signed-off-by: Athan <kgryte@gmail.com>
1 parent c859dcc commit 9299fde

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/math/strided/special/acoversin-by/test

lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ tape( 'the function computes the inverse coversed sine via a callback function',
7474
acoversinBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77-
x = [];
78-
x.length = 5; // sparse array
77+
// eslint-disable-next-line stdlib/no-new-array
78+
x = new Array( 5 ); // sparse array
7979
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8080

8181
expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8282

8383
acoversinBy( x.length, x, 1, y, 1, accessor );
8484
t.deepEqual( y, expected, 'deep equal' );
8585

86-
x = [];
87-
x.length = 5; // sparse array
86+
// eslint-disable-next-line stdlib/no-new-array
87+
x = new Array( 5 ); // sparse array
8888
x[ 2 ] = rand();
8989
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
9090

0 commit comments

Comments
 (0)