Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 27, 2022
1 parent fd09da3 commit 6c4a783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

6 changes: 3 additions & 3 deletions benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ bench( pkg, function benchmark( b ) {
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
bool = isUint32Array( values[ i%values.length ] );
if ( !isBoolean( bool ) ) {
if ( typeof bool !== 'boolean' ) {
b.fail( 'should return a boolean' );
}
}
Expand All @@ -82,7 +82,7 @@ bench( pkg+'::true', function benchmark( b ) {
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
bool = isUint32Array( values[ i%values.length ] );
if ( !isBoolean( bool ) ) {
if ( typeof bool !== 'boolean' ) {
b.fail( 'should return a boolean' );
}
}
Expand Down Expand Up @@ -113,7 +113,7 @@ bench( pkg+'::false', function benchmark( b ) {
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
bool = isUint32Array( values[ i%values.length ] );
if ( !isBoolean( bool ) ) {
if ( typeof bool !== 'boolean' ) {
b.fail( 'should return a boolean' );
}
}
Expand Down

0 comments on commit 6c4a783

Please sign in to comment.