From 5fea8c030b2877cdab6463e9f5466f877735e128 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 31 Jul 2013 13:04:57 +1000 Subject: [PATCH] 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 --- src/pkg/text/template/exec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.48.1