Skip to content

Commit

Permalink
bench: use || instead of &&
Browse files Browse the repository at this point in the history
Signed-off-by: Gunj Joshi <[email protected]>
  • Loading branch information
gunjjoshi authored Aug 8, 2024
1 parent 6264d4e commit 69de1c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ bench( pkg+'::native,true', opts, function benchmark( b ) {
}
}
b.toc();
if ( !isBoolean( bool ) && bool !== true ) {
if ( !isBoolean( bool ) || bool !== true ) {
b.fail( 'should return true' );
}
b.pass( 'benchmark finished' );
Expand Down

0 comments on commit 69de1c4

Please sign in to comment.