diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
commit | 10f55215a4d4ac643bf04202704b4fec01417bba (patch) | |
tree | e6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/gob/codec_test.go | |
parent | edc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff) | |
download | golang-10f55215a4d4ac643bf04202704b4fec01417bba.tar.gz |
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
Diffstat (limited to 'src/pkg/gob/codec_test.go')
-rw-r--r-- | src/pkg/gob/codec_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pkg/gob/codec_test.go b/src/pkg/gob/codec_test.go index 2ab46a7b0..df82a5b6b 100644 --- a/src/pkg/gob/codec_test.go +++ b/src/pkg/gob/codec_test.go @@ -580,15 +580,15 @@ func TestEndToEnd(t *testing.T) { t *T2 } t1 := &T1{ - a: 17, - b: 18, - c: -5, - n: &[3]float{1.5, 2.5, 3.5}, - strs: &[2]string{s1, s2}, + a: 17, + b: 18, + c: -5, + n: &[3]float{1.5, 2.5, 3.5}, + strs: &[2]string{s1, s2}, int64s: &[]int64{77, 89, 123412342134}, - s: "Now is the time", - y: []byte("hello, sailor"), - t: &T2{"this is T2"}, + s: "Now is the time", + y: []byte("hello, sailor"), + t: &T2{"this is T2"}, } b := new(bytes.Buffer) err := NewEncoder(b).Encode(t1) |