From: Rob Pike Date: Wed, 31 Jul 2013 03:04:57 +0000 (+1000) Subject: text/template: fix type of ComplexZero in test X-Git-Tag: go1.2rc2~882 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5fea8c030b2877cdab6463e9f5466f877735e128;p=gostls13.git text/template: fix type of ComplexZero in test Was stupidly float64; should be complex128. The tests still pass. Fixes #5649. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12107044 --- diff --git a/src/pkg/text/template/exec_test.go b/src/pkg/text/template/exec_test.go index 0ab20acc93..b898565931 100644 --- a/src/pkg/text/template/exec_test.go +++ b/src/pkg/text/template/exec_test.go @@ -24,7 +24,7 @@ type T struct { U16 uint16 X string FloatZero float64 - ComplexZero float64 + ComplexZero complex128 // Nested structs. U *U // Struct with String method.