mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
tweak temporary directory name in tests
This commit is contained in:
parent
6b66f8bcdb
commit
4ca8bb541c
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ func TestRename(t *testing.T) {
|
|||
}
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
dir, err := ioutil.TempDir("", "mmv-"+tc.name+"-")
|
||||
dir, err := ioutil.TempDir("", "mmv-")
|
||||
defer os.RemoveAll(dir)
|
||||
require.NoError(t, os.Chdir(dir))
|
||||
require.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue