summaryrefslogtreecommitdiff
path: root/src/pkg/once
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/once')
-rw-r--r--src/pkg/once/once_test.go6
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)
}
}