Lines Matching full:templates
101 // Similarly, cloning sub-templates should fail.
127 templates := t0.Templates()
128 if len(templates) != len(names) {
129 t.Errorf("expected %d templates; got %d", len(names), len(templates))
133 for _, tmpl := range templates {
153 // "Further calls to Parse in the copy will add templates
159 if len(t0.Templates())+1 != len(t1.Templates()) {