summaryrefslogtreecommitdiff
path: root/template_windows_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-06-09 19:25:17 -0400
committerGitHub <noreply@github.com>2024-06-09 19:25:17 -0400
commit47b74a5505d4c9979d24a8bcffde711a60c5f23a (patch)
tree479b4331848c549d69d0e2ba1f228dddb2069402 /template_windows_test.go
parentdc41e375484759c09e0480b10a30f6f80318bb56 (diff)
chore(api)!: Overhauling config and rendering types (#2094)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'template_windows_test.go')
-rw-r--r--template_windows_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/template_windows_test.go b/template_windows_test.go
index 4deba7d9..590e7969 100644
--- a/template_windows_test.go
+++ b/template_windows_test.go
@@ -11,7 +11,6 @@ import (
"github.com/hack-pad/hackpadfs"
"github.com/hack-pad/hackpadfs/mem"
- "github.com/hairyhenderson/gomplate/v4/internal/config"
"github.com/hairyhenderson/gomplate/v4/internal/datafs"
"github.com/stretchr/testify/assert"
@@ -30,7 +29,7 @@ func TestWalkDir_Windows(t *testing.T) {
ctx := datafs.ContextWithFSProvider(context.Background(), datafs.WrappedFSProvider(fsys, "file"))
- cfg := &config.Config{}
+ cfg := &Config{}
_, err := walkDir(ctx, cfg, `C:\indir`, simpleNamer(`C:/outdir`), nil, nil, 0, false)
require.Error(t, err)