mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 14:14:57 +08:00
fix name of temporary file in tests
This commit is contained in:
parent
d576ba920d
commit
7af6308cbb
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ func TestRename(t *testing.T) {
|
|||
}
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
dir, err := ioutil.TempDir("", "mvv-"+tc.name+"-")
|
||||
dir, err := ioutil.TempDir("", "mmv-"+tc.name+"-")
|
||||
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