forked from TrueCloudLab/frostfs-node
[#1132] *: Use path/filepath
package when working with files
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
0decb95591
commit
674f520da7
20 changed files with 73 additions and 77 deletions
|
@ -1,7 +1,7 @@
|
|||
package state_test
|
||||
|
||||
import (
|
||||
"path"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/nspcc-dev/neofs-node/pkg/util/state"
|
||||
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func TestPersistentStorage_UInt32(t *testing.T) {
|
||||
storage, err := state.NewPersistentStorage(path.Join(t.TempDir(), ".storage"))
|
||||
storage, err := state.NewPersistentStorage(filepath.Join(t.TempDir(), ".storage"))
|
||||
require.NoError(t, err)
|
||||
defer storage.Close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue