We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abc31cf commit c7fb506Copy full SHA for c7fb506
lib/node_modules/@stdlib/assert/is-plain-object/benchmark/benchmark.js
@@ -37,10 +37,9 @@ bench( pkg, function benchmark( b ) {
37
}
38
39
b.toc();
40
- if ( isBoolean( bool ) ) {
41
- b.pass( 'benchmark finished' );
42
- } else {
+ if ( !isBoolean( bool ) ) {
43
b.fail( 'should return a boolean' );
44
+ b.pass( 'benchmark finished' );
45
b.end();
46
});
0 commit comments