1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00

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
This commit is contained in:
Rob Pike 2013-07-31 13:04:57 +10:00
parent 6a13897bc6
commit 5fea8c030b

View File

@ -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.