aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/map_test.go
diff options
context:
space:
mode:
authorAinar Garipov <gugl.zadolbal@gmail.com>2019-09-09 09:00:53 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2019-09-09 18:57:05 +0000
commit51c8d969bd8a9992002a11373f91564c326e6d77 (patch)
tree9827d9123831e3ee459633d905478374659bf718 /src/runtime/map_test.go
parent28f8f55bd29f997fc814782f161ae09520955a8d (diff)
downloadgo-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/runtime/map_test.go')
-rw-r--r--src/runtime/map_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/map_test.go b/src/runtime/map_test.go
index 593e32267d..1b7ccad6ed 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",
})