ref: ac6f8c3afe06b940836bd6149c8b6f336d9996f2
dir: /template_test.go/
package template import ( "testing" "text/template" ) func TestTemplates(t *testing.T) { if _, e := template.ParseGlob("*.tpl"); e != nil { t.Error(e) } if _, e := template.ParseGlob("help/*.tpl"); e != nil { t.Error(e) } if _, e := template.ParseGlob("doctor/*.tpl"); e != nil { t.Error(e) } if _, e := template.ParseGlob("patient/*.tpl"); e != nil { t.Error(e) } if _, e := template.ParseGlob("plugins/*.tpl"); e != nil { t.Error(e) } }