Skip to content

Commit 975807a

Browse files
committed
test: add test cases
--- 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 ddd0e9d commit 975807a

File tree

1 file changed

+2
-4
lines changed
  • lib/node_modules/@stdlib/ndarray/fill-slice/test

1 file changed

+2
-4
lines changed

lib/node_modules/@stdlib/ndarray/fill-slice/test/test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ tape( 'the function fills an input ndarray slice with a specified value (row-maj
450450
var s0;
451451
var s1;
452452
var s2;
453-
var s;
454453
var o;
455454
var x;
456455

@@ -484,7 +483,7 @@ tape( 'the function fills an input ndarray slice with a specified value (row-maj
484483

485484
t.strictEqual( isSameComplex128Array( x.data, expected ), true, 'returns expected value' );
486485

487-
fillSlice( x, new Complex128( -10.0, -20.0 ), s );
486+
fillSlice( x, new Complex128( -10.0, -20.0 ), [ s0, s1, s2 ] );
488487

489488
expected = new Complex128Array([
490489
-10.0,
@@ -514,7 +513,6 @@ tape( 'the function fills an input ndarray slice with a specified value (row-maj
514513
var s0;
515514
var s1;
516515
var s2;
517-
var s;
518516
var o;
519517
var x;
520518

@@ -548,7 +546,7 @@ tape( 'the function fills an input ndarray slice with a specified value (row-maj
548546

549547
t.strictEqual( isSameComplex128Array( x.data, expected ), true, 'returns expected value' );
550548

551-
fillSlice( x, new Complex128( -10.0, -20.0 ), s );
549+
fillSlice( x, new Complex128( -10.0, -20.0 ), [ s0, s1, s2 ] );
552550

553551
expected = new Complex128Array([
554552
-10.0,

0 commit comments

Comments
 (0)