16 lines
265 B
Go
16 lines
265 B
Go
package config
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.grosinger.net/tgrosinger/tonyslist/pkg/tests"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGetConfig(t *testing.T) {
|
|
configPath := tests.LoadConfigPath()
|
|
|
|
_, err := GetConfig(configPath)
|
|
require.NoError(t, err)
|
|
}
|