Skip to content

Commit c047e28

Browse files
committed
test: add tests
--- 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 355f267 commit c047e28

File tree

1 file changed

+3
-4
lines changed
  • lib/node_modules/@stdlib/ndarray/flatten-by/test

1 file changed

+3
-4
lines changed

lib/node_modules/@stdlib/ndarray/flatten-by/test/test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ tape( 'the function throws an error if provided an options argument which is not
114114
true,
115115
false,
116116
null,
117-
void 0,
118-
function noop() {}
117+
void 0
119118
];
120119
for ( i = 0; i < values.length; i++ ) {
121120
t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
@@ -282,7 +281,7 @@ tape( 'the function supports specifying the callback execution context (row-majo
282281
t.deepEqual( getShape( y ), [ 8 ], 'returns expected value' );
283282
t.strictEqual( getDType( y ), dt, 'returns expected value' );
284283
t.strictEqual( getOrder( y ), 'row-major', 'returns expected value' );
285-
t.strictEqual( ctx.count, 8, 'returns expected value' );
284+
t.strictEqual( ctx.count, 9, 'returns expected value' );
286285

287286
t.end();
288287

@@ -427,7 +426,7 @@ tape( 'the function supports specifying the callback execution context (column-m
427426
t.deepEqual( getShape( y ), [ 8 ], 'returns expected value' );
428427
t.strictEqual( getDType( y ), dt, 'returns expected value' );
429428
t.strictEqual( getOrder( y ), 'row-major', 'returns expected value' );
430-
t.strictEqual( ctx.count, 8, 'returns expected value' );
429+
t.strictEqual( ctx.count, 9, 'returns expected value' );
431430

432431
t.end();
433432

0 commit comments

Comments
 (0)