From 5f2324f6d42dd67a68de013250d42f507029079c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Sun, 6 Oct 2019 16:38:42 +0100 Subject: [PATCH] gtr: Fix junit testsuites test count --- pkg/gtr/gtr.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/gtr/gtr.go b/pkg/gtr/gtr.go index 3262afa..cabde17 100644 --- a/pkg/gtr/gtr.go +++ b/pkg/gtr/gtr.go @@ -86,9 +86,8 @@ func JUnit(report Report) junit.Testsuites { var suites junit.Testsuites for _, pkg := range report.Packages { suite := junit.Testsuite{ - Name: pkg.Name, - Tests: len(pkg.Tests), - Time: junit.FormatDuration(pkg.Duration), + Name: pkg.Name, + Time: junit.FormatDuration(pkg.Duration), } for _, line := range pkg.Output {