mirror of
https://github.com/golang/go
synced 2024-11-18 11:34:45 -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:
parent
6a13897bc6
commit
5fea8c030b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user