16 lines
273 B
Go
16 lines
273 B
Go
|
package internal_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/nspcc-dev/neofs-node/cmd/neofs-node/config/internal"
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestEnv(t *testing.T) {
|
||
|
require.Equal(t,
|
||
|
"NEOFS_SECTION_PARAMETER",
|
||
|
internal.Env("section", "parameter"),
|
||
|
)
|
||
|
}
|