Skip to content

Commit f344466

Browse files
committed
test: use .strictEqual() instead of .equal() and fix lint errors
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c894b66 commit f344466

File tree

129 files changed

+427
-427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+427
-427
lines changed

lib/node_modules/@stdlib/bigint/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains key-value pairs', function test( t ) {
3737
var keys = objectKeys( ns );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

lib/node_modules/@stdlib/blas/base/assert/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains key-value pairs', function test( t ) {
3737
var keys = objectKeys( ns );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

lib/node_modules/@stdlib/blas/base/dcabs1/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tape( 'the function computes the sum of the absolute values of the real and imag
4848

4949
for ( i = 0; i < re.length; i++ ) {
5050
y = dcabs1( new Complex128( re[ i ], im[ i ] ) );
51-
t.equal( y, expected[ i ], 'returns expected value. re: '+re[ i ]+'. im: '+im[ i ]+'. expected: '+expected[ i ]+'.' );
51+
t.strictEqual( y, expected[ i ], 'returns expected value. re: '+re[ i ]+'. im: '+im[ i ]+'. expected: '+expected[ i ]+'.' );
5252
}
5353
t.end();
5454
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tape( 'the function computes the sum of the absolute values of the real and imag
5757

5858
for ( i = 0; i < re.length; i++ ) {
5959
y = dcabs1( new Complex128( re[ i ], im[ i ] ) );
60-
t.equal( y, expected[ i ], 'returns expected value. re: '+re[ i ]+'. im: '+im[ i ]+'. expected: '+expected[ i ]+'.' );
60+
t.strictEqual( y, expected[ i ], 'returns expected value. re: '+re[ i ]+'. im: '+im[ i ]+'. expected: '+expected[ i ]+'.' );
6161
}
6262
t.end();
6363
});

lib/node_modules/@stdlib/blas/base/scabs1/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tape( 'the function computes the sum of the absolute values of the real and imag
4848

4949
for ( i = 0; i < re.length; i++ ) {
5050
y = scabs1( new Complex64( re[ i ], im[ i ] ) );
51-
t.equal( y, expected[ i ], 'returns expected value. re: '+re[i]+'. im: '+im[i]+'. expected: '+expected[i]+'.' );
51+
t.strictEqual( y, expected[ i ], 'returns expected value. re: '+re[i]+'. im: '+im[i]+'. expected: '+expected[i]+'.' );
5252
}
5353
t.end();
5454
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tape( 'the function computes the sum of the absolute values of the real and imag
5757

5858
for ( i = 0; i < re.length; i++ ) {
5959
y = scabs1( new Complex64( re[ i ], im[ i ] ) );
60-
t.equal( y, expected[ i ], 'returns expected value. re: '+re[i]+'. im: '+im[i]+'. expected: '+expected[i]+'.' );
60+
t.strictEqual( y, expected[ i ], 'returns expected value. re: '+re[i]+'. im: '+im[i]+'. expected: '+expected[i]+'.' );
6161
}
6262
t.end();
6363
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains BLAS routines', function test( t ) {
3737
var keys = objectKeys( blas );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

lib/node_modules/@stdlib/blas/base/wasm/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains BLAS routines', function test( t ) {
3737
var keys = objectKeys( blas );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains key-value pairs', function test( t ) {
3737
var keys = objectKeys( ns );
38-
t.equal( keys.length > 0, true, 'returns expected value' );
38+
t.strictEqual( keys.length > 0, true, 'returns expected value' );
3939
t.end();
4040
});

lib/node_modules/@stdlib/blas/ext/base/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains key-value pairs', function test( t ) {
3737
var keys = objectKeys( ns );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

0 commit comments

Comments
 (0)