Skip to content

Commit 9e9f54f

Browse files
committed
Minor.
1 parent c72998c commit 9e9f54f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

keystore/storage/file_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import (
1111

1212
func TestFileStorage(t *testing.T) {
1313
t.Parallel()
14-
dir := t.TempDir()
15-
storage := storage.NewFileStorage(filepath.Join(dir, "out.txt"))
14+
storage := storage.NewFileStorage(filepath.Join(t.TempDir(), "out.txt"))
1615
_, err := storage.GetEncryptedKeystore(t.Context())
1716
require.ErrorContains(t, err, "no such file or directory")
1817
require.NoError(t, storage.PutEncryptedKeystore(t.Context(), []byte("test")))

0 commit comments

Comments
 (0)