Skip to content

Commit 5597ed8

Browse files
committed
fix: tests not working due to improper fs adding
1 parent 83e8ba9 commit 5597ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error_templates/test_utils/test_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (cases TestCases) Execute(t *testing.T) {
171171
}
172172

173173
t.Run(caseName, func(t *testing.T) {
174-
cases.engine.FS = tCase.Files
174+
cases.engine.FS.Attach(tCase.Files, 0)
175175
template, data, err := cases.engine.Analyze("", tCase.Input)
176176
if err != nil {
177177
t.Fatal(err)

0 commit comments

Comments
 (0)