Skip to content

Commit aa87ac7

Browse files
committed
test: fix test descriptions
--- 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 7ec74ef commit aa87ac7

File tree

2 files changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/array

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/array/nanrange-by/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ tape( 'if provided an empty array, the function returns `NaN` (accessors)', func
278278
t.end();
279279
});
280280

281-
tape( 'if provided an array containing a single element, the function returns the result of applying a provided callback function to that element', function test( t ) {
281+
tape( 'if provided an array containing a single element, the function returns 0.0', function test( t ) {
282282
var v = nanrangeBy( [ 1.0 ], accessor );
283283
t.strictEqual( v, 0.0, 'returns expected value' );
284284
t.end();
285285
});
286286

287-
tape( 'if provided an array containing a single element, the function returns the result of applying a provided callback function to that element (accessors)', function test( t ) {
287+
tape( 'if provided an array containing a single element, the function returns 0.0 (accessors)', function test( t ) {
288288
var v = nanrangeBy( toAccessorArray( [ 1.0 ] ), accessor );
289289
t.strictEqual( v, 0.0, 'returns expected value' );
290290
t.end();

lib/node_modules/@stdlib/stats/array/range-by/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ tape( 'if provided an empty array, the function returns `NaN` (accessors)', func
276276
t.end();
277277
});
278278

279-
tape( 'if provided an array containing a single element, the function returns the result of applying a provided callback function to that element', function test( t ) {
279+
tape( 'if provided an array containing a single element, the function returns 0.0', function test( t ) {
280280
var v = rangeBy( [ 1.0 ], accessor );
281281
t.strictEqual( v, 0.0, 'returns expected value' );
282282
t.end();
283283
});
284284

285-
tape( 'if provided an array containing a single element, the function returns the result of applying a provided callback function to that element (accessors)', function test( t ) {
285+
tape( 'if provided an array containing a single element, the function returns 0.0 (accessors)', function test( t ) {
286286
var v = rangeBy( toAccessorArray( [ 1.0 ] ), accessor );
287287
t.strictEqual( v, 0.0, 'returns expected value' );
288288
t.end();

0 commit comments

Comments
 (0)