Skip to content

Commit a467bf0

Browse files
authored
chore: fix typos and incorrect test values
PR-URL: #11270 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 947396d commit a467bf0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/array/base/falses/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import falses = require( './index' );
2929
// The compiler throws an error if the function is provided an argument which is not a number...
3030
{
3131
falses( 'abc' ); // $ExpectError
32+
falses( true ); // $ExpectError
3233
falses( false ); // $ExpectError
33-
falses( false ); // $ExpectError
34-
falses( false ); // $ExpectError
34+
falses( null ); // $ExpectError
3535
falses( [] ); // $ExpectError
3636
falses( {} ); // $ExpectError
3737
falses( ( x: number ): number => x ); // $ExpectError

lib/node_modules/@stdlib/array/base/trues/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import trues = require( './index' );
3131
trues( 'abc' ); // $ExpectError
3232
trues( true ); // $ExpectError
3333
trues( false ); // $ExpectError
34-
trues( true ); // $ExpectError
34+
trues( null ); // $ExpectError
3535
trues( [] ); // $ExpectError
3636
trues( {} ); // $ExpectError
3737
trues( ( x: number ): number => x ); // $ExpectError

lib/node_modules/@stdlib/array/nulls/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) {
4141
}
4242
b.toc();
4343
if ( !isCollection( arr ) ) {
44-
b.fail( 'should return a typed array' );
44+
b.fail( 'should return an array' );
4545
}
4646
b.pass( 'benchmark finished' );
4747
b.end();

lib/node_modules/@stdlib/ndarray/base/maybe-broadcast-arrays/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var getShape = require( '@stdlib/ndarray/base/shape' );
2828
// MAIN //
2929

3030
/**
31-
* Broadcasts an ndarrays to a common shape.
31+
* Broadcasts ndarrays to a common shape.
3232
*
3333
* ## Notes
3434
*

0 commit comments

Comments
 (0)