- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTemplateFuncsAfterClone (0.33 sec)
-
src/html/template/exec_test.go
} r := &recursiveInvoker{ t: t, tmpl: tmpl, } if err := top.Execute(io.Discard, r); err != nil { t.Fatal(err) } } // Issue 43295. func TestTemplateFuncsAfterClone(t *testing.T) { s := `{{ f . }}` want := "test" orig := New("orig").Funcs(map[string]any{ "f": func(in string) string { return in }, }).New("child")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0)