diff --git a/gotools/gotools.go b/gotools/gotools.go index 3f60bb01..9df7fde5 100644 --- a/gotools/gotools.go +++ b/gotools/gotools.go @@ -213,8 +213,10 @@ func (Go) TestSum(path string) error { additionalGoArgs := []string{} additionalGoArgs = append(additionalGoArgs, "--format") additionalGoArgs = append(additionalGoArgs, "pkgname") - additionalGoArgs = append(additionalGoArgs, "--junitfile "+junitFile) - additionalGoArgs = append(additionalGoArgs, "--jsonfile "+jsonFile) + additionalGoArgs = append(additionalGoArgs, "--junitfile") + additionalGoArgs = append(additionalGoArgs, junitFile) + additionalGoArgs = append(additionalGoArgs, "--jsonfile") + additionalGoArgs = append(additionalGoArgs, jsonFile) additionalGoArgs = append(additionalGoArgs, fmt.Sprintf("--packages=%s", path)) additionalGoArgs = append(additionalGoArgs, "--")