Skip to content

Commit 9d7d6b0

Browse files
committed
fix: test cases in strided/base/map-by2
--- 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 d51a71a commit 9d7d6b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ tape( 'the function applies a binary function to indexed strided array elements
7272
mapBy2( x.length, x, 1, y, 1, z, 1, add, accessor );
7373
t.deepEqual( z, expected, 'deep equal' );
7474

75-
x = new Array( 5 ); // sparse array
75+
x = [ ]; // sparse array
7676
y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ];
7777
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7878

lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ tape( 'the function applies a binary function to indexed strided array elements
7272
mapBy2( x.length, x, 1, 0, y, 1, 0, z, 1, 0, add, accessor );
7373
t.deepEqual( z, expected, 'deep equal' );
7474

75-
x = new Array( 5 ); // sparse array
75+
x = [ ]; // sparse array
7676
y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ];
7777
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7878

0 commit comments

Comments
 (0)