Skip to content

Commit

Permalink
Change separator in results file written
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Jun 20, 2024
1 parent d87fda9 commit ca21273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testrunner/reporters/outputs/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func reportToFile(pkg, report string, testType testrunner.TestType, format testr
ext = "xml"
}

fileName := fmt.Sprintf("%s_%s_%d.%s", pkg, testType, time.Now().UnixNano(), ext)
fileName := fmt.Sprintf("%s-%s-%d.%s", pkg, testType, time.Now().UnixNano(), ext)
filePath := filepath.Join(dest, fileName)

if err := os.WriteFile(filePath, []byte(report+"\n"), 0644); err != nil {
Expand Down

0 comments on commit ca21273

Please sign in to comment.