Skip to content

Commit e7b800e

Browse files
committed
test: address failing 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent b7a9481 commit e7b800e

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

lib/node_modules/@stdlib/blas/ext/to-sortedhp/test/test.assign.js

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var tape = require( 'tape' );
2424
var ndarray = require( '@stdlib/ndarray/ctor' );
2525
var zeros = require( '@stdlib/ndarray/zeros' );
26+
var empty = require( '@stdlib/ndarray/empty' );
2627
var ndarray2array = require( '@stdlib/ndarray/to-array' );
2728
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
2829
var assign = require( './../lib/assign.js' );
@@ -209,7 +210,7 @@ tape( 'the function throws an error if provided a first argument which does not
209210
var i;
210211

211212
values = [
212-
zeros( [ 2, 2 ], {
213+
empty( [ 2, 2 ], {
213214
'dtype': 'bool'
214215
})
215216
];
@@ -230,7 +231,7 @@ tape( 'the function throws an error if provided a first argument which does not
230231
var i;
231232

232233
values = [
233-
zeros( [ 2, 2 ], {
234+
empty( [ 2, 2 ], {
234235
'dtype': 'bool'
235236
})
236237
];
@@ -251,7 +252,7 @@ tape( 'the function throws an error if provided a first argument which does not
251252
var i;
252253

253254
values = [
254-
zeros( [ 2, 2 ], {
255+
empty( [ 2, 2 ], {
255256
'dtype': 'bool'
256257
})
257258
];
@@ -272,7 +273,7 @@ tape( 'the function throws an error if provided a first argument which does not
272273
var i;
273274

274275
values = [
275-
zeros( [ 2, 2 ], {
276+
empty( [ 2, 2 ], {
276277
'dtype': 'bool'
277278
})
278279
];
@@ -293,7 +294,7 @@ tape( 'the function throws an error if provided a first argument which does not
293294
var i;
294295

295296
values = [
296-
zeros( [ 2, 2 ], {
297+
empty( [ 2, 2 ], {
297298
'dtype': 'bool'
298299
})
299300
];
@@ -314,7 +315,7 @@ tape( 'the function throws an error if provided a first argument which does not
314315
var i;
315316

316317
values = [
317-
zeros( [ 2, 2 ], {
318+
empty( [ 2, 2 ], {
318319
'dtype': 'bool'
319320
})
320321
];
@@ -503,7 +504,7 @@ tape( 'the function throws an error if provided a second argument which does not
503504
var i;
504505

505506
values = [
506-
zeros( [ 2, 2 ], {
507+
empty( [ 2, 2 ], {
507508
'dtype': 'bool'
508509
})
509510
];
@@ -524,7 +525,7 @@ tape( 'the function throws an error if provided a second argument which does not
524525
var i;
525526

526527
values = [
527-
zeros( [ 2, 2 ], {
528+
empty( [ 2, 2 ], {
528529
'dtype': 'bool'
529530
})
530531
];
@@ -545,7 +546,7 @@ tape( 'the function throws an error if provided a second argument which does not
545546
var i;
546547

547548
values = [
548-
zeros( [ 2, 2 ], {
549+
empty( [ 2, 2 ], {
549550
'dtype': 'bool'
550551
})
551552
];
@@ -566,7 +567,7 @@ tape( 'the function throws an error if provided a second argument which does not
566567
var i;
567568

568569
values = [
569-
zeros( [ 2, 2 ], {
570+
empty( [ 2, 2 ], {
570571
'dtype': 'bool'
571572
})
572573
];
@@ -587,7 +588,7 @@ tape( 'the function throws an error if provided a second argument which does not
587588
var i;
588589

589590
values = [
590-
zeros( [ 2, 2 ], {
591+
empty( [ 2, 2 ], {
591592
'dtype': 'bool'
592593
})
593594
];
@@ -608,7 +609,7 @@ tape( 'the function throws an error if provided a second argument which does not
608609
var i;
609610

610611
values = [
611-
zeros( [ 2, 2 ], {
612+
empty( [ 2, 2 ], {
612613
'dtype': 'bool'
613614
})
614615
];

0 commit comments

Comments
 (0)