From 526837026995aa88a05eb73f83f8573d5c024882 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 13 Feb 2009 14:48:32 -0800 Subject: convert composite literals from { } to ( ). only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024 --- src/lib/json/generic_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/json/generic_test.go') diff --git a/src/lib/json/generic_test.go b/src/lib/json/generic_test.go index ab3e24fb8..6e409b3e4 100644 --- a/src/lib/json/generic_test.go +++ b/src/lib/json/generic_test.go @@ -9,7 +9,7 @@ import ( "testing"; ) -var jsontests = []string { +var jsontests = []string ( `null`, `true`, `false`, @@ -22,7 +22,7 @@ var jsontests = []string { `[1,2,"abc",null,true,false]`, `{}`, `{"a":1}`, -} +) func TestJson(t *testing.T) { for i := 0; i < len(jsontests); i++ { -- cgit v1.2.3