bouncer/internal/config/config_test.go

17 lines
227 B
Go
Raw Permalink Normal View History

2023-04-24 20:52:12 +02:00
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))
}
}