fix broken vet, format some stuff

This commit is contained in:
Zach committed 2023-06-13 16:05:04 -05:00
1 parent fab4f4e97d
commit b1d59bf890
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ func TestWriteJunit(t *testing.T) {
for _, test := range tests {
// create tmp file using os.TempDir()
tmpfile, err := os.Create(filepath.Join(tmpPath, test.testReportName+".xml"))
tmpfile, err := os.Create(filepath.Join(t.TempDir(), test.testReportName+".xml"))
if err != nil {
os.Remove(tmpfile.Name())
t.Error(err)