avoid duplicate testsuites for everyt line of output

This commit is contained in:
Erik Brakkee 2024-11-20 23:42:06 +01:00
parent bfbf24a6c4
commit 36563f55fb

View File

@ -78,7 +78,7 @@ func (testsuites *Testsuites) getSuite(t time.Time, pkg string) *Testsuite {
func (suite *Testsuite) getSuite(t time.Time, name string) *Testsuite {
for _, s := range suite.Testsuites {
if s.Name == name {
if s.Name == suite.Name+"/"+name {
return s
}
}