diff --git a/common/log/logger_test.go b/common/log/logger_test.go index 1c7f06e2..6a664e08 100644 --- a/common/log/logger_test.go +++ b/common/log/logger_test.go @@ -16,6 +16,7 @@ func TestFileLogger(t *testing.T) { common.Must(err) path := f.Name() common.Must(f.Close()) + defer os.Remove(path) creator, err := CreateFileLogWriter(path) common.Must(err)