Skip to content

Commit 7c2adb4

Browse files
committed
Fix lint errors
1 parent 67b3f31 commit 7c2adb4

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

lib/node_modules/@stdlib/blas/base/scopy/test/test.ndarray.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,14 @@ tape( 'the function supports a `y` offset', function test( t ) {
123123
});
124124

125125
tape( 'the function returns a reference to the destination array', function test( t ) {
126-
var x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
127-
var y = new Float32Array( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
126+
var out;
127+
var x;
128+
var y;
129+
130+
x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
131+
y = new Float32Array( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
128132

129-
var out = scopy( x.length, x, 1, 0, y, 1, 0 );
133+
out = scopy( x.length, x, 1, 0, y, 1, 0 );
130134

131135
t.strictEqual( out, y, 'same reference' );
132136
t.end();

lib/node_modules/@stdlib/blas/base/scopy/test/test.ndarray.native.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,14 @@ tape( 'the function supports a `y` offset', opts, function test( t ) {
132132
});
133133

134134
tape( 'the function returns a reference to the destination array', opts, function test( t ) {
135-
var x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
136-
var y = new Float32Array( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
135+
var out;
136+
var x;
137+
var y;
138+
139+
x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
140+
y = new Float32Array( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
137141

138-
var out = scopy( x.length, x, 1, 0, y, 1, 0 );
142+
out = scopy( x.length, x, 1, 0, y, 1, 0 );
139143

140144
t.strictEqual( out, y, 'same reference' );
141145
t.end();

0 commit comments

Comments
 (0)