From 51c8d969bd8a9992002a11373f91564c326e6d77 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 9 Sep 2019 09:00:53 +0300 Subject: src: gofmt -s Change-Id: I56d7eeaf777ac30886ee77428ca1ac72b77fbf7d Reviewed-on: https://go-review.googlesource.com/c/go/+/193849 Run-TryBot: Dave Cheney TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/encoding/json/encode_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/encoding/json/encode_test.go') diff --git a/src/encoding/json/encode_test.go b/src/encoding/json/encode_test.go index 642f397fb9..daab713766 100644 --- a/src/encoding/json/encode_test.go +++ b/src/encoding/json/encode_test.go @@ -796,8 +796,8 @@ func TestTextMarshalerMapKeysAreSorted(t *testing.T) { // https://golang.org/issue/33675 func TestNilMarshalerTextMapKey(t *testing.T) { b, err := Marshal(map[*unmarshalerText]int{ - (*unmarshalerText)(nil): 1, - &unmarshalerText{"A", "B"}: 2, + (*unmarshalerText)(nil): 1, + {"A", "B"}: 2, }) if err != nil { t.Fatalf("Failed to Marshal *text.Marshaler: %v", err) -- cgit v1.3