summaryrefslogtreecommitdiff
path: root/src/pkg/once/once_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/once/once_test.go')
-rw-r--r--src/pkg/once/once_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/once/once_test.go b/src/pkg/once/once_test.go
index e2e6c2c09..e89e05e81 100644
--- a/src/pkg/once/once_test.go
+++ b/src/pkg/once/once_test.go
@@ -11,9 +11,7 @@ import (
var ncall int
-func call() {
- ncall++;
-}
+func call() { ncall++ }
func TestDo(t *testing.T) {
ncall = 0;