From f4f0344fe26cca96cc6063459b48e7af61ae483b Mon Sep 17 00:00:00 2001 From: Didier Spezia Date: Sun, 23 Aug 2015 13:00:01 +0000 Subject: encoding/base64,xml: map/slice literals janitoring Simplify slice/map literal expressions. Caught with gofmt -d -s, fixed with gofmt -w -s Change-Id: I639cfb02b1f57dea4087863df3995889c9371529 Reviewed-on: https://go-review.googlesource.com/13837 Reviewed-by: Andrew Gerrand --- src/encoding/xml/marshal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/xml') diff --git a/src/encoding/xml/marshal_test.go b/src/encoding/xml/marshal_test.go index 66675d7abc..330fbee1af 100644 --- a/src/encoding/xml/marshal_test.go +++ b/src/encoding/xml/marshal_test.go @@ -1695,7 +1695,7 @@ func TestRace9796(t *testing.T) { for i := 0; i < 2; i++ { wg.Add(1) go func() { - Marshal(B{[]A{A{}}}) + Marshal(B{[]A{{}}}) wg.Done() }() } -- cgit v1.3-5-g9baa