mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 12:03:41 +00:00
testing: replace spaces with underscores in test/benchmark names, as upstream does
This commit is contained in:
@@ -211,7 +211,7 @@ func (t *T) Run(name string, f func(t *T)) bool {
|
||||
// Create a subtest.
|
||||
sub := T{
|
||||
common: common{
|
||||
name: t.name + "/" + name,
|
||||
name: t.name + "/" + rewrite(name),
|
||||
indent: t.indent + " ",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user