diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2024-01-25 09:00:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 14:00:15 +0000 |
| commit | 0dfabf140720077e7d319a873f6941431a16d8bf (patch) | |
| tree | e6d17e93e3ba038830b1985173ede0b43fc30c5f /context_test.go | |
| parent | d75551b56796933f983dbe182e6345cf5af55e8f (diff) | |
Remove deprecated data.Source type (#1973)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'context_test.go')
| -rw-r--r-- | context_test.go | 3 |
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}, }, |
