mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 05:23:40 +00:00
testing: replace spaces with underscores in test/benchmark names, as upstream does
This commit is contained in:
@@ -329,7 +329,7 @@ func (b *B) processBench(ctx *benchContext) {
|
||||
// least once will not be measured itself and will be called once with N=1.
|
||||
func (b *B) Run(name string, f func(b *B)) bool {
|
||||
if b.level > 0 {
|
||||
name = b.name + "/" + name
|
||||
name = b.name + "/" + rewrite(name)
|
||||
}
|
||||
b.hasSub = true
|
||||
sub := &B{
|
||||
|
||||
Reference in New Issue
Block a user