William Petit
e66938f1d3
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
17 lines
227 B
Go
17 lines
227 B
Go
package config
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
func TestConfigLoad(t *testing.T) {
|
|
filepath := "./testdata/config.yml"
|
|
|
|
_, err := NewFromFile(filepath)
|
|
if err != nil {
|
|
t.Fatal(errors.WithStack(err))
|
|
}
|
|
}
|