Commit 5fea8c03 authored by Rob Pike's avatar Rob Pike

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
parent 6a13897b
...@@ -24,7 +24,7 @@ type T struct { ...@@ -24,7 +24,7 @@ type T struct {
U16 uint16 U16 uint16
X string X string
FloatZero float64 FloatZero float64
ComplexZero float64 ComplexZero complex128
// Nested structs. // Nested structs.
U *U U *U
// Struct with String method. // Struct with String method.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment