Documentation and tests for config package.
This commit is contained in:
parent
1fe906a6f9
commit
1fb4d83e0d
2 changed files with 36 additions and 11 deletions
12
config/config_test.go
Normal file
12
config/config_test.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestGetConfig(t *testing.T) {
|
||||
_, err := GetConfig()
|
||||
require.NoError(t, err)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue