DEVOPS-2496 add max history setting (#12)
* add history_max setting * update docs * use suite for env test
This commit is contained in:
committed by
Colin Hoglund
parent
a566ea0cf7
commit
8d450bbf7d
15
internal/env/testing.go
vendored
Normal file
15
internal/env/testing.go
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package env
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func NewTestConfig(t *testing.T) *Config {
|
||||
conf, err := NewConfig(os.Stdout, os.Stderr)
|
||||
require.NoError(t, err)
|
||||
|
||||
return conf
|
||||
}
|
||||
Reference in New Issue
Block a user