Skip to content

Commit c392d9d

Browse files
committed
Auto-generated commit
1 parent bef09ec commit c392d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function createBenchmark( len ) {
6464
b.tic();
6565
for ( i = 0; i < b.iterations; i++ ) {
6666
bool = isBinaryString( str + (i%10) );
67-
if ( !isBoolean( bool ) ) {
67+
if ( typeof bool !== 'boolean' ) {
6868
b.fail( 'should return a boolean' );
6969
}
7070
}

0 commit comments

Comments
 (0)