diff options
author | Robert Griesemer <gri@golang.org> | 2009-12-09 16:54:07 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-12-09 16:54:07 -0800 |
commit | 0f265b61e8a1dd3c2a9e9e67b2c8a06ba835dabf (patch) | |
tree | 3dcff34cda5305eeb27606048c4460b0761b01ef /src/pkg/json/struct_test.go | |
parent | b7a9cd5ad38e32bb598bb20ec2b6d8198a305a5c (diff) | |
download | golang-0f265b61e8a1dd3c2a9e9e67b2c8a06ba835dabf.tar.gz |
remove uses of string concatenation from src and misc directory
R=rsc
http://codereview.appspot.com/172041
Diffstat (limited to 'src/pkg/json/struct_test.go')
-rw-r--r-- | src/pkg/json/struct_test.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pkg/json/struct_test.go b/src/pkg/json/struct_test.go index 0c7976eba..1511bc45c 100644 --- a/src/pkg/json/struct_test.go +++ b/src/pkg/json/struct_test.go @@ -35,13 +35,13 @@ type myStruct struct { MapPtrStruct map[string]*myStruct; } -const encoded = `{"t":true,"f":false,"s":"abc","i8":1,"i16":2,"i32":3,"i64":4,` - ` "u8":5,"u16":6,"u32":7,"u64":8,` - ` "i":-9,"u":10,"bogusfield":"should be ignored",` - ` "fl":11.5,"fl32":12.25,"fl64":13.75,` - ` "a":["x","y","z"],"my":{"s":"subguy"},` - `"map":{"k1":[1,2,3],"k2":[],"k3":[3,4]},` - `"mapstruct":{"m1":{"u8":8}},` +const encoded = `{"t":true,"f":false,"s":"abc","i8":1,"i16":2,"i32":3,"i64":4,` + + ` "u8":5,"u16":6,"u32":7,"u64":8,` + + ` "i":-9,"u":10,"bogusfield":"should be ignored",` + + ` "fl":11.5,"fl32":12.25,"fl64":13.75,` + + ` "a":["x","y","z"],"my":{"s":"subguy"},` + + `"map":{"k1":[1,2,3],"k2":[],"k3":[3,4]},` + + `"mapstruct":{"m1":{"u8":8}},` + `"mapptrstruct":{"m1":{"u8":8}}}` var decodedMap = map[string][]int{ |