diff options
Diffstat (limited to 'context_test.go')
| -rw-r--r-- | context_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
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) |
