Changed temp file creation in index test.
This commit is contained in:
parent
525abb53fd
commit
291733b60f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
func TestIndex(t *testing.T) {
|
||||
// Create a temp file.
|
||||
f, err := ioutil.TempFile(os.TempDir(), "index_tes")
|
||||
f, err := ioutil.TempFile("", "index_tes")
|
||||
require.NoError(t, err)
|
||||
defer os.Remove(f.Name())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue