File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1124,10 +1124,10 @@ class Benchmark {
1124
1124
class GroupedBenchmark extends Benchmark {
1125
1125
constructor ( plan , benchmarks ) {
1126
1126
super ( plan ) ;
1127
- assert ( benchmarks . length ) ;
1127
+ console . assert ( benchmarks . length ) ;
1128
1128
for ( const benchmark of benchmarks ) {
1129
1129
// FIXME: Tags don't work for grouped tests anyway but if they did then this would be weird and probably wrong.
1130
- assert ( benchmark . plan . tags . indexOf ( "Default" ) === - 1 , `Grouped benchmark sub-benchmarks shouldn't have the "Default" tag` , benchmark . tags ) ;
1130
+ console . assert ( ! benchmark . hasAnyTag ( "Default" ) , `Grouped benchmark sub-benchmarks shouldn't have the "Default" tag` , benchmark . tags ) ;
1131
1131
}
1132
1132
benchmarks . sort ( ( a , b ) => a . name . toLowerCase ( ) < b . name . toLowerCase ( ) ? 1 : - 1 ) ;
1133
1133
this . benchmarks = benchmarks ;
You can’t perform that action at this time.
0 commit comments