summaryrefslogtreecommitdiff
path: root/context_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'context_test.go')
-rw-r--r--context_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/context_test.go b/context_test.go
index c8885a47..ec8481c4 100644
--- a/context_test.go
+++ b/context_test.go
@@ -8,6 +8,7 @@ import (
"github.com/hairyhenderson/go-fsimpl"
"github.com/hairyhenderson/gomplate/v4/data"
+ "github.com/hairyhenderson/gomplate/v4/internal/config"
"github.com/hairyhenderson/gomplate/v4/internal/datafs"
"github.com/stretchr/testify/assert"
@@ -44,7 +45,7 @@ func TestCreateContext(t *testing.T) {
ub, _ := url.Parse(barURL)
//nolint:staticcheck
d := &data.Data{
- Sources: map[string]*data.Source{
+ Sources: map[string]config.DataSource{
"foo": {URL: uf},
".": {URL: ub},
},