Skip to content

Commit 6bffb72

Browse files
DankJugalkgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: #9365 Closes: #9356 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 9ad59d3 commit 6bffb72

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ tape( 'the function computes the cosine via a callback function', function test(
7474
cosBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77+
// eslint-disable-next-line stdlib/no-new-array
7778
x = new Array( 5 ); // sparse array
7879
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7980

@@ -82,6 +83,7 @@ tape( 'the function computes the cosine via a callback function', function test(
8283
cosBy( x.length, x, 1, y, 1, accessor );
8384
t.deepEqual( y, expected, 'deep equal' );
8485

86+
// eslint-disable-next-line stdlib/no-new-array
8587
x = new Array( 5 ); // sparse array
8688
x[ 2 ] = rand();
8789
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

0 commit comments

Comments
 (0)