Skip to content

Commit 239b567

Browse files
committed
test: fix property name
--- 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: passed - 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 52807fc commit 239b567

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/ndarray/slice-assign/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
Options.
4444

4545
options.strict: boolean (optional)
46-
Boolean indicating whether to enforce strict bounds checking.
47-
Default: true.
46+
Boolean indicating whether to enforce strict bounds checking. Default:
47+
true.
4848

4949
Returns
5050
-------

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable object-curly-newline, max-len, max-lines */
19+
/* eslint-disable object-curly-newline, max-len, max-lines, stdlib/line-closing-bracket-spacing */
2020

2121
'use strict';
2222

@@ -2690,7 +2690,7 @@ tape( 'the function supports safely casting input array elements to the data typ
26902690
v = actual.data;
26912691
e = expected[ i ];
26922692
if ( isComplexDataType( actual.dtype ) ) {
2693-
for ( j = 0; j < v.legnth; j++ ) {
2693+
for ( j = 0; j < v.length; j++ ) {
26942694
t.strictEqual( real( v[ j ] ), e[ j*2 ], 'returns expected value' );
26952695
t.strictEqual( imag( v[ j ] ), e[ (j*2)+1 ], 'returns expected value' );
26962696
}
@@ -2737,7 +2737,7 @@ tape( 'the function supports downcasting floating-point input array elements to
27372737
v = actual.data;
27382738
e = expected[ i ];
27392739
if ( isComplexDataType( actual.dtype ) ) {
2740-
for ( j = 0; j < v.legnth; j++ ) {
2740+
for ( j = 0; j < v.length; j++ ) {
27412741
t.strictEqual( real( v[ j ] ), e[ j*2 ], 'returns expected value' );
27422742
t.strictEqual( imag( v[ j ] ), e[ (j*2)+1 ], 'returns expected value' );
27432743
}

0 commit comments

Comments
 (0)