mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
Test: Delete temporary file afterwards (#4028)
This commit is contained in:
parent
59e5d24280
commit
6ba0dbafd7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue