File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
ndarray/base/maybe-broadcast-arrays/lib Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff 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*
You can’t perform that action at this time.
0 commit comments