Skip to content

Commit a189559

Browse files
authored
test: remove dupe test
Signed-off-by: Athan <[email protected]>
1 parent 7c3fb16 commit a189559

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

lib/node_modules/@stdlib/blas/ext/last-index-of/test/test.assign.js

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -560,42 +560,6 @@ tape( 'the function throws an error if provided an output argument which is not
560560
}
561561
});
562562

563-
tape( 'the function throws an error if provided an output argument which is not an ndarray-like object', function test( t ) {
564-
var values;
565-
var opts;
566-
var i;
567-
var x;
568-
569-
opts = {
570-
'dtype': 'generic'
571-
};
572-
573-
x = zeros( [ 2, 2 ], opts );
574-
575-
values = [
576-
'5',
577-
5,
578-
NaN,
579-
true,
580-
false,
581-
null,
582-
void 0,
583-
[],
584-
{},
585-
function noop() {}
586-
];
587-
for ( i = 0; i < values.length; i++ ) {
588-
t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
589-
}
590-
t.end();
591-
592-
function badValue( value ) {
593-
return function badValue() {
594-
lastIndexOf( x, 2.0, value );
595-
};
596-
}
597-
});
598-
599563
tape( 'the function throws an error if provided an output argument which is not an ndarray-like object (options)', function test( t ) {
600564
var values;
601565
var opts;

0 commit comments

Comments
 (0)