diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2018-11-09 23:33:40 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2018-11-11 16:09:05 +0000 |
| commit | 3a7a56cc704eb27b823b6c0dc7bf7b0e7c94d1d7 (patch) | |
| tree | 5f7df416fabac236d2871af0a865fb51fb8a496b /src/runtime/map_test.go | |
| parent | 8607b2e825da5bbd91929080ccfdbc20ed9aef96 (diff) | |
| download | go-3a7a56cc704eb27b823b6c0dc7bf7b0e7c94d1d7.tar.xz | |
runtime: gofmt all improperly formatted code
This change fixes incorrect formatting in mheap.go (the result of my
previous heap scavenging changes) and map_test.go.
Change-Id: I2963687504abdc4f0cdf2f0c558174b3bc0ed2df
Reviewed-on: https://go-review.googlesource.com/c/148977
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/map_test.go')
| -rw-r--r-- | src/runtime/map_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/map_test.go b/src/runtime/map_test.go index 4713ce25ec..93b20668fa 100644 --- a/src/runtime/map_test.go +++ b/src/runtime/map_test.go @@ -435,11 +435,11 @@ func TestEmptyKeyAndValue(t *testing.T) { // ("quick keys") as well as long keys. func TestSingleBucketMapStringKeys_DupLen(t *testing.T) { testMapLookups(t, map[string]string{ - "x": "x1val", - "xx": "x2val", - "foo": "fooval", - "bar": "barval", // same key length as "foo" - "xxxx": "x4val", + "x": "x1val", + "xx": "x2val", + "foo": "fooval", + "bar": "barval", // same key length as "foo" + "xxxx": "x4val", strings.Repeat("x", 128): "longval1", strings.Repeat("y", 128): "longval2", }) |
