]> Cypherpunks repositories - gostls13.git/commit
text/template: fix bug in Clone
authorRob Pike <r@golang.org>
Fri, 25 Nov 2011 00:07:19 +0000 (16:07 -0800)
committerRob Pike <r@golang.org>
Fri, 25 Nov 2011 00:07:19 +0000 (16:07 -0800)
commit0197cc49ae3bfabc0edbeb0ae7534036d130dd71
tree95479a3e1262c6f034d0a76732d429128a23e4b4
parentd1324d8a7a2a74b9eed8d62a28445db1bbdb90a9
text/template: fix bug in Clone
Cloned template copied the root template incorrectly.
Add test of self-consistency.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5436063
src/pkg/text/template/multi_test.go
src/pkg/text/template/template.go