From 79244ca7360f32db37710ab74c72214146397edf Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 8 Oct 2009 15:14:54 -0700 Subject: more lgtm files from gofmt R=gri OCL=35485 CL=35488 --- src/pkg/regexp/all_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pkg/regexp/all_test.go') diff --git a/src/pkg/regexp/all_test.go b/src/pkg/regexp/all_test.go index b3df8bb50..2cd2fecf7 100644 --- a/src/pkg/regexp/all_test.go +++ b/src/pkg/regexp/all_test.go @@ -470,7 +470,7 @@ func TestAllMatches(t *testing.T) { switch c.matchfunc { case "matchit": - result = make([]string, len(c.input) + 1); + result = make([]string, len(c.input)+1); i := 0; b := strings.Bytes(c.input); for match := range re.AllMatchesIter(b, c.n) { @@ -479,7 +479,7 @@ func TestAllMatches(t *testing.T) { } result = result[0:i]; case "stringmatchit": - result = make([]string, len(c.input) + 1); + result = make([]string, len(c.input)+1); i := 0; for match := range re.AllMatchesStringIter(c.input, c.n) { result[i] = match; @@ -487,7 +487,7 @@ func TestAllMatches(t *testing.T) { } result = result[0:i]; case "match": - result = make([]string, len(c.input) + 1); + result = make([]string, len(c.input)+1); b := strings.Bytes(c.input); i := 0; for _, match := range re.AllMatches(b, c.n) { -- cgit v1.2.3