Skip to content

Commit d059154

Browse files
committed
docs: apply suggestions from code review
--- 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 b0b9cb6 commit d059154

File tree

2 files changed

+64
-64
lines changed

2 files changed

+64
-64
lines changed

lib/node_modules/@stdlib/ndarray/some-by/test/test.assign.js

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ tape( 'main export is a function', function test( t ) {
6363
t.end();
6464
});
6565

66-
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n_scalar)', function test( t ) {
66+
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n=scalar)', function test( t ) {
6767
var values;
6868
var y;
6969
var i;
@@ -97,7 +97,7 @@ tape( 'the function throws an error if provided a first argument which is not an
9797
}
9898
});
9999

100-
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n_ndarray)', function test( t ) {
100+
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n=ndarray)', function test( t ) {
101101
var values;
102102
var opts;
103103
var y;
@@ -135,7 +135,7 @@ tape( 'the function throws an error if provided a first argument which is not an
135135
}
136136
});
137137

138-
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object (n_scalar, options)', function test( t ) {
138+
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object (n=scalar, options)', function test( t ) {
139139
var values;
140140
var y;
141141
var i;
@@ -169,7 +169,7 @@ tape( 'the function throws an error if provided a first argument which is not an
169169
}
170170
});
171171

172-
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n_ndarray, options)', function test( t ) {
172+
tape( 'the function throws an error if provided a first argument which is not an ndarray-like object(n=ndarray, options)', function test( t ) {
173173
var values;
174174
var opts;
175175
var y;
@@ -304,7 +304,7 @@ tape( 'the function throws an error if provided a second argument which is an nd
304304
}
305305
});
306306

307-
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n_scalar)', function test( t ) {
307+
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n=scalar)', function test( t ) {
308308
var values;
309309
var x;
310310
var i;
@@ -338,7 +338,7 @@ tape( 'the function throws an error if provided a third argument which is not an
338338
}
339339
});
340340

341-
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n_ndarray)', function test( t ) {
341+
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n=ndarray)', function test( t ) {
342342
var values;
343343
var opts;
344344
var x;
@@ -376,7 +376,7 @@ tape( 'the function throws an error if provided a third argument which is not an
376376
}
377377
});
378378

379-
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object (n_scalar, options)', function test( t ) {
379+
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object (n=scalar, options)', function test( t ) {
380380
var values;
381381
var x;
382382
var i;
@@ -410,7 +410,7 @@ tape( 'the function throws an error if provided a third argument which is not an
410410
}
411411
});
412412

413-
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n_ndarray, options)', function test( t ) {
413+
tape( 'the function throws an error if provided a third argument which is not an ndarray-like object(n=ndarray, options)', function test( t ) {
414414
var values;
415415
var opts;
416416
var x;
@@ -448,7 +448,7 @@ tape( 'the function throws an error if provided a third argument which is not an
448448
}
449449
});
450450

451-
tape( 'the function throws an error if provided a callback argument which is not a function(n_scalar)', function test( t ) {
451+
tape( 'the function throws an error if provided a callback argument which is not a function(n=scalar)', function test( t ) {
452452
var values;
453453
var x;
454454
var y;
@@ -485,7 +485,7 @@ tape( 'the function throws an error if provided a callback argument which is not
485485
}
486486
});
487487

488-
tape( 'the function throws an error if provided a callback argument which is not a function(n_scalar, options)', function test( t ) {
488+
tape( 'the function throws an error if provided a callback argument which is not a function(n=scalar, options)', function test( t ) {
489489
var values;
490490
var x;
491491
var y;
@@ -522,7 +522,7 @@ tape( 'the function throws an error if provided a callback argument which is not
522522
}
523523
});
524524

525-
tape( 'the function throws an error if provided a callback argument which is not a function(n_scalar, options, thisArg)', function test( t ) {
525+
tape( 'the function throws an error if provided a callback argument which is not a function(n=scalar, options, thisArg)', function test( t ) {
526526
var values;
527527
var x;
528528
var y;
@@ -559,7 +559,7 @@ tape( 'the function throws an error if provided a callback argument which is not
559559
}
560560
});
561561

562-
tape( 'the function throws an error if provided a callback argument which is not a function(n_ndarray)', function test( t ) {
562+
tape( 'the function throws an error if provided a callback argument which is not a function(n=ndarray)', function test( t ) {
563563
var values;
564564
var opts;
565565
var x;
@@ -600,7 +600,7 @@ tape( 'the function throws an error if provided a callback argument which is not
600600
}
601601
});
602602

603-
tape( 'the function throws an error if provided a callback argument which is not a function(n_ndarray, options)', function test( t ) {
603+
tape( 'the function throws an error if provided a callback argument which is not a function(n=ndarray, options)', function test( t ) {
604604
var values;
605605
var opts;
606606
var x;
@@ -641,7 +641,7 @@ tape( 'the function throws an error if provided a callback argument which is not
641641
}
642642
});
643643

644-
tape( 'the function throws an error if provided a callback argument which is not a function(n_ndarray, options, thisArg)', function test( t ) {
644+
tape( 'the function throws an error if provided a callback argument which is not a function(n=ndarray, options, thisArg)', function test( t ) {
645645
var values;
646646
var opts;
647647
var x;
@@ -682,7 +682,7 @@ tape( 'the function throws an error if provided a callback argument which is not
682682
}
683683
});
684684

685-
tape( 'the function throws an error if provided an options argument which is not an object(n_scalar)', function test( t ) {
685+
tape( 'the function throws an error if provided an options argument which is not an object(n=scalar)', function test( t ) {
686686
var values;
687687
var x;
688688
var y;
@@ -718,7 +718,7 @@ tape( 'the function throws an error if provided an options argument which is not
718718
}
719719
});
720720

721-
tape( 'the function throws an error if provided an options argument which is not an object(n_ndarray)', function test( t ) {
721+
tape( 'the function throws an error if provided an options argument which is not an object(n=ndarray)', function test( t ) {
722722
var values;
723723
var opts;
724724
var x;
@@ -758,7 +758,7 @@ tape( 'the function throws an error if provided an options argument which is not
758758
}
759759
});
760760

761-
tape( 'the function throws an error if provided an options with invalid `dims` property(n_scalar)', function test( t ) {
761+
tape( 'the function throws an error if provided an options with invalid `dims` property(n=scalar)', function test( t ) {
762762
var values;
763763
var opts;
764764
var x;
@@ -797,7 +797,7 @@ tape( 'the function throws an error if provided an options with invalid `dims` p
797797
}
798798
});
799799

800-
tape( 'the function throws an error if provided an options with invalid `dims` property(n_ndarray)', function test( t ) {
800+
tape( 'the function throws an error if provided an options with invalid `dims` property(n=ndarray)', function test( t ) {
801801
var values;
802802
var opts1;
803803
var opts2;
@@ -912,7 +912,7 @@ tape( 'the function throws an error if provided a second argument which is not b
912912
}
913913
});
914914

915-
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (row-major, n_scalar)', function test( t ) {
915+
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (row-major, n=scalar)', function test( t ) {
916916
var expected;
917917
var actual;
918918
var x;
@@ -943,7 +943,7 @@ tape( 'the function tests whether at least `n` elements along one or more ndarra
943943
t.end();
944944
});
945945

946-
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (row-major, n_ndarray)', function test( t ) {
946+
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (row-major, n=ndarray)', function test( t ) {
947947
var expected;
948948
var actual;
949949
var opts;
@@ -978,7 +978,7 @@ tape( 'the function tests whether at least `n` elements along one or more ndarra
978978
t.end();
979979
});
980980

981-
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (column-major, n_scalar)', function test( t ) {
981+
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (column-major, n=scalar)', function test( t ) {
982982
var expected;
983983
var actual;
984984
var x;
@@ -1009,7 +1009,7 @@ tape( 'the function tests whether at least `n` elements along one or more ndarra
10091009
t.end();
10101010
});
10111011

1012-
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (column-major, n_ndarray)', function test( t ) {
1012+
tape( 'the function tests whether at least `n` elements along one or more ndarray dimensions pass a test implemented by a predicate function (column-major, n=ndarray)', function test( t ) {
10131013
var expected;
10141014
var actual;
10151015
var opts;
@@ -1044,7 +1044,7 @@ tape( 'the function tests whether at least `n` elements along one or more ndarra
10441044
t.end();
10451045
});
10461046

1047-
tape( 'the function supports specifying reduction dimensions (row-major, n_scalar)', function test( t ) {
1047+
tape( 'the function supports specifying reduction dimensions (row-major, n=scalar)', function test( t ) {
10481048
var expected;
10491049
var actual;
10501050
var opts;
@@ -1066,7 +1066,7 @@ tape( 'the function supports specifying reduction dimensions (row-major, n_scala
10661066
t.end();
10671067
});
10681068

1069-
tape( 'the function supports specifying reduction dimensions (row-major, n_ndarray)', function test( t ) {
1069+
tape( 'the function supports specifying reduction dimensions (row-major, n=ndarray)', function test( t ) {
10701070
var expected;
10711071
var actual;
10721072
var opts1;
@@ -1092,7 +1092,7 @@ tape( 'the function supports specifying reduction dimensions (row-major, n_ndarr
10921092
t.end();
10931093
});
10941094

1095-
tape( 'the function supports specifying reduction dimensions (column-major, n_scalar)', function test( t ) {
1095+
tape( 'the function supports specifying reduction dimensions (column-major, n=scalar)', function test( t ) {
10961096
var expected;
10971097
var actual;
10981098
var opts;
@@ -1115,7 +1115,7 @@ tape( 'the function supports specifying reduction dimensions (column-major, n_sc
11151115
t.end();
11161116
});
11171117

1118-
tape( 'the function supports specifying reduction dimensions (column-major, n_ndarray)', function test( t ) {
1118+
tape( 'the function supports specifying reduction dimensions (column-major, n=ndarray)', function test( t ) {
11191119
var expected;
11201120
var actual;
11211121
var opts1;
@@ -1142,7 +1142,7 @@ tape( 'the function supports specifying reduction dimensions (column-major, n_nd
11421142
t.end();
11431143
});
11441144

1145-
tape( 'the function supports providing a callback execution context(n_scalar)', function test( t ) {
1145+
tape( 'the function supports providing a callback execution context(n=scalar)', function test( t ) {
11461146
var expected;
11471147
var actual;
11481148
var ctx;
@@ -1167,7 +1167,7 @@ tape( 'the function supports providing a callback execution context(n_scalar)',
11671167
t.end();
11681168
});
11691169

1170-
tape( 'the function supports providing a callback execution context(n_ndarray)', function test( t ) {
1170+
tape( 'the function supports providing a callback execution context(n=ndarray)', function test( t ) {
11711171
var expected;
11721172
var actual;
11731173
var opts;
@@ -1195,7 +1195,7 @@ tape( 'the function supports providing a callback execution context(n_ndarray)',
11951195
t.end();
11961196
});
11971197

1198-
tape( 'the function supports providing a callback execution context(n_scalar, options)', function test( t ) {
1198+
tape( 'the function supports providing a callback execution context(n=scalar, options)', function test( t ) {
11991199
var expected;
12001200
var actual;
12011201
var ctx;
@@ -1220,7 +1220,7 @@ tape( 'the function supports providing a callback execution context(n_scalar, op
12201220
t.end();
12211221
});
12221222

1223-
tape( 'the function supports providing a callback execution context(n_ndarray, options)', function test( t ) {
1223+
tape( 'the function supports providing a callback execution context(n=ndarray, options)', function test( t ) {
12241224
var expected;
12251225
var actual;
12261226
var opts;

0 commit comments

Comments
 (0)