Skip to content

Commit a78342c

Browse files
authored
chore: fix JavaScript lint errors
PR-URL: #10482 Closes: #10475 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 5cad666 commit a78342c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 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 );

0 commit comments

Comments
 (0)