diff options
| author | Ainar Garipov <gugl.zadolbal@gmail.com> | 2019-09-09 09:00:53 +0300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-09-09 18:57:05 +0000 |
| commit | 51c8d969bd8a9992002a11373f91564c326e6d77 (patch) | |
| tree | 9827d9123831e3ee459633d905478374659bf718 /src/encoding/json/encode_test.go | |
| parent | 28f8f55bd29f997fc814782f161ae09520955a8d (diff) | |
| download | go-51c8d969bd8a9992002a11373f91564c326e6d77.tar.xz | |
src: gofmt -s
Change-Id: I56d7eeaf777ac30886ee77428ca1ac72b77fbf7d
Reviewed-on: https://go-review.googlesource.com/c/go/+/193849
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/json/encode_test.go')
| -rw-r--r-- | src/encoding/json/encode_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
