From 47b74a5505d4c9979d24a8bcffde711a60c5f23a Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sun, 9 Jun 2024 19:25:17 -0400 Subject: chore(api)!: Overhauling config and rendering types (#2094) Signed-off-by: Dave Henderson --- context_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'context_test.go') diff --git a/context_test.go b/context_test.go index 903a0fc7..a0985be9 100644 --- a/context_test.go +++ b/context_test.go @@ -7,7 +7,6 @@ import ( "testing" "github.com/hairyhenderson/go-fsimpl" - "github.com/hairyhenderson/gomplate/v4/internal/config" "github.com/hairyhenderson/gomplate/v4/internal/datafs" "github.com/stretchr/testify/assert" @@ -46,8 +45,8 @@ func TestCreateContext(t *testing.T) { uf, _ := url.Parse(fooURL) ub, _ := url.Parse(barURL) - reg.Register("foo", config.DataSource{URL: uf}) - reg.Register(".", config.DataSource{URL: ub}) + reg.Register("foo", DataSource{URL: uf}) + reg.Register(".", DataSource{URL: ub}) t.Setenv("foo", "foo: bar") c, err = createTmplContext(ctx, []string{"foo"}, sr) -- cgit v1.2.3