Skip to content

Commit 633de00

Browse files
committed
chore: fix JavaScript lint errors (issue #10447)
1 parent 5dfbc75 commit 633de00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/blas/base/isamax/test/test.isamax.native.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ tape( 'the function finds the index of the element with the maximum absolute val
6666
idx = isamax( 4, x, 1 );
6767
t.strictEqual( idx, expected, 'returns expected value' );
6868

69-
x = new Float32Array( [
69+
x = new Float32Array([
7070
0.2, // 1
7171
-0.6, // 2
7272
0.3, // 3
7373
5.0,
7474
5.0
75-
] );
75+
]);
7676
expected = 1;
7777

7878
idx = isamax( 3, x, 1 );
@@ -86,11 +86,11 @@ tape( 'if provided an `N` parameter less than `1`, the function returns `-1`', o
8686
var idx;
8787
var x;
8888

89-
x = new Float32Array( [
89+
x = new Float32Array([
9090
1.0,
9191
2.0,
9292
3.0
93-
] );
93+
]);
9494
expected = -1;
9595

9696
idx = isamax( 0, x, 1 );
@@ -125,7 +125,7 @@ tape( 'the function supports specifying a negative stride', opts, function test(
125125
var idx;
126126
var x;
127127

128-
x = new Float32Array( [ 3.0, -4.0, 1.0, 15.0, 4.0, 3.0 ] );
128+
x = new Float32Array([ 3.0, -4.0, 1.0, 15.0, 4.0, 3.0 ]);
129129

130130
idx = isamax( x.length, x, -1 );
131131
t.strictEqual( idx, 2, 'returns expected value' );

0 commit comments

Comments
 (0)