Browse Source

Test: Delete temporary file afterwards (#4028)

pull/4045/head
zonescape 2 days ago committed by GitHub
parent
commit
6ba0dbafd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      common/log/logger_test.go

1
common/log/logger_test.go

@ -16,6 +16,7 @@ func TestFileLogger(t *testing.T) {
common.Must(err) common.Must(err)
path := f.Name() path := f.Name()
common.Must(f.Close()) common.Must(f.Close())
defer os.Remove(path)
creator, err := CreateFileLogWriter(path) creator, err := CreateFileLogWriter(path)
common.Must(err) common.Must(err)

Loading…
Cancel
Save