avoid duplicate testsuites for everyt line of output
This commit is contained in:
parent
bfbf24a6c4
commit
36563f55fb
@ -78,7 +78,7 @@ func (testsuites *Testsuites) getSuite(t time.Time, pkg string) *Testsuite {
|
|||||||
|
|
||||||
func (suite *Testsuite) getSuite(t time.Time, name string) *Testsuite {
|
func (suite *Testsuite) getSuite(t time.Time, name string) *Testsuite {
|
||||||
for _, s := range suite.Testsuites {
|
for _, s := range suite.Testsuites {
|
||||||
if s.Name == name {
|
if s.Name == suite.Name+"/"+name {
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user