From 64b6fd074df86c5043d7e6a30b6be893e6283d28 Mon Sep 17 00:00:00 2001 From: Kate Suraev Date: Fri, 5 Dec 2025 13:00:42 +1100 Subject: [PATCH] chore: fix Javascript 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/ndarray/base/nullary/test/test.9d.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/nullary/test/test.9d.js b/lib/node_modules/@stdlib/ndarray/base/nullary/test/test.9d.js index 6be4b17879f9..c63e71ea7cb6 100644 --- a/lib/node_modules/@stdlib/ndarray/base/nullary/test/test.9d.js +++ b/lib/node_modules/@stdlib/ndarray/base/nullary/test/test.9d.js @@ -600,7 +600,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di nullary( [ x ], constantFunction( new Complex128( 10.0, 10.0 ) ) ); - expected = new Complex128Array( [ + expected = new Complex128Array([ 10.0, 10.0, 10.0, @@ -617,7 +617,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di 10.0, 10.0, 10.0 - ] ); + ]); t.strictEqual( isSameComplex128Array( x.data, expected ), true, 'returns expected value' ); t.end(); @@ -642,7 +642,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di nullary( [ x ], constantFunction( new Complex128( 10.0, 10.0 ) ) ); - expected = new Complex128Array( [ + expected = new Complex128Array([ 10.0, 10.0, 10.0, @@ -659,7 +659,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di 10.0, 10.0, 10.0 - ] ); + ]); t.strictEqual( isSameComplex128Array( x.data, expected ), true, 'returns expected value' ); t.end(); @@ -1251,7 +1251,7 @@ tape('the function applies a nullary callback to each indexed element of an 9-di nullary( [ x ], constantFunction( 10.0 ) ); - expected = new Float64Array( [ + expected = new Float64Array([ 10.0, 10.0, 0.0, @@ -1293,7 +1293,7 @@ tape('the function applies a nullary callback to each indexed element of an 9-di nullary( [ x ], constantFunction( 10.0 ) ); - expected = new Float64Array( [ + expected = new Float64Array([ 10.0, 10.0, 0.0, @@ -1709,7 +1709,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di nullary( [ x ], constantFunction( new Complex128( 10.0, 10.0 ) ) ); - expected = new Complex128Array( [ + expected = new Complex128Array([ 10.0, 10.0, 10.0, @@ -1767,7 +1767,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 9-di nullary( [ x ], constantFunction( new Complex128( 10.0, 10.0 ) ) ); - expected = new Complex128Array( [ + expected = new Complex128Array([ 10.0, 10.0, 10.0,