diff options
Diffstat (limited to 'config_test.go')
| -rw-r--r-- | config_test.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config_test.go b/config_test.go index 0ab881a..207f429 100644 --- a/config_test.go +++ b/config_test.go @@ -5,13 +5,15 @@ import ( _ "embed" "testing" - "github.com/stretchr/testify/assert" + "go.awhk.org/core" ) //go:embed config_example.yaml var cfg []byte -func TestConfig(t *testing.T) { +func TestConfig(s *testing.T) { + t := core.T{T: s} + _, err := loadConfig(bytes.NewReader(cfg)) - assert.NoError(t, err) + t.AssertErrorIs(nil, err) } |
