add comment
This commit is contained in:
parent
c5a7551da8
commit
64045fadfb
1
internal/env/testing.go
vendored
1
internal/env/testing.go
vendored
|
@ -7,6 +7,7 @@ import (
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// NewTestConfig is a helper for setting up a Config object and error checking
|
||||||
func NewTestConfig(t *testing.T) *Config {
|
func NewTestConfig(t *testing.T) *Config {
|
||||||
conf, err := NewConfig(os.Stdout, os.Stderr)
|
conf, err := NewConfig(os.Stdout, os.Stderr)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
Loading…
Reference in a new issue