diff options
author | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
commit | e940edc7a026293153ba09ece40e8092a2fc2463 (patch) | |
tree | c94a425c84b7a48f91a5d76a222effad70c9a88c /src/pkg/once | |
parent | e067f862f1774ab89a2096a88571a94e3b9cd353 (diff) | |
download | golang-e940edc7a026293153ba09ece40e8092a2fc2463.tar.gz |
remove semis after statements in one-statement statement lists
R=rsc, r
http://go/go-review/1025029
Diffstat (limited to 'src/pkg/once')
-rw-r--r-- | src/pkg/once/once_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/once/once_test.go b/src/pkg/once/once_test.go index e89e05e81..e31bcc278 100644 --- a/src/pkg/once/once_test.go +++ b/src/pkg/once/once_test.go @@ -17,14 +17,14 @@ func TestDo(t *testing.T) { ncall = 0; once.Do(call); if ncall != 1 { - t.Fatalf("once.Do(call) didn't call(): ncall=%d", ncall); + t.Fatalf("once.Do(call) didn't call(): ncall=%d", ncall) } once.Do(call); if ncall != 1 { - t.Fatalf("second once.Do(call) did call(): ncall=%d", ncall); + t.Fatalf("second once.Do(call) did call(): ncall=%d", ncall) } once.Do(call); if ncall != 1 { - t.Fatalf("third once.Do(call) did call(): ncall=%d", ncall); + t.Fatalf("third once.Do(call) did call(): ncall=%d", ncall) } } |