diff options
Diffstat (limited to 'src/html/template')
| -rw-r--r-- | src/html/template/example_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/example_test.go b/src/html/template/example_test.go index a7c2905098..40fc3ba47b 100644 --- a/src/html/template/example_test.go +++ b/src/html/template/example_test.go @@ -124,7 +124,7 @@ func Example_escape() { // The following example is duplicated in text/template; keep them in sync. -func ExampleBlock() { +func ExampleTemplate_block() { const ( master = `Names:{{block "list" .}}{{"\n"}}{{range .}}{{println "-" .}}{{end}}{{end}}` overlay = `{{define "list"}} {{join . ", "}}{{end}} ` |
