summaryrefslogtreecommitdiffstats
path: root/tpl/internal/go_templates/texttemplate/hugo_template_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/internal/go_templates/texttemplate/hugo_template_test.go')
-rw-r--r--tpl/internal/go_templates/texttemplate/hugo_template_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/internal/go_templates/texttemplate/hugo_template_test.go b/tpl/internal/go_templates/texttemplate/hugo_template_test.go
index c68b747dd..920d96fac 100644
--- a/tpl/internal/go_templates/texttemplate/hugo_template_test.go
+++ b/tpl/internal/go_templates/texttemplate/hugo_template_test.go
@@ -64,6 +64,9 @@ func (e *execHelper) GetMethod(ctx context.Context, tmpl Preparer, receiver refl
return m, reflect.ValueOf("v2")
}
+func (e *execHelper) OnCalled(ctx context.Context, tmpl Preparer, name string, args []reflect.Value, returnValue reflect.Value) {
+}
+
func TestTemplateExecutor(t *testing.T) {
c := qt.New(t)