diff --git a/cmd/neofs-cli/internal/key/key_test.go b/cmd/neofs-cli/internal/key/key_test.go index 587a838f2..d3a41eee5 100644 --- a/cmd/neofs-cli/internal/key/key_test.go +++ b/cmd/neofs-cli/internal/key/key_test.go @@ -37,7 +37,6 @@ func Test_getOrGenerate(t *testing.T) { acc2.Default = true w.AddAccount(acc2) require.NoError(t, w.Save()) - w.Close() keyPath := filepath.Join(dir, "binary.key") rawKey, err := keys.NewPrivateKey()