Skip to content

Commit

Permalink
fix(gotools): adjust gotestsum so junit-file arg works
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonhull committed Aug 5, 2022
1 parent 6b5e6bf commit aca776d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gotools/gotools.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "--")
Expand Down

0 comments on commit aca776d

Please sign in to comment.