summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug006.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
committerRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
commitd4f4656470e56d7d4dc35ecef1841f989745b24f (patch)
tree9d0faf1d96579f8c9fb0321586cab7c5149ccdf1 /test/fixedbugs/bug006.go
parentdf89d5ea8f7e8d7601dc176b6544206a68b1fe09 (diff)
downloadgo-d4f4656470e56d7d4dc35ecef1841f989745b24f.tar.gz
fix bug depot:
1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
Diffstat (limited to 'test/fixedbugs/bug006.go')
-rw-r--r--test/fixedbugs/bug006.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug006.go b/test/fixedbugs/bug006.go
index dc40abf0a..938a216e2 100644
--- a/test/fixedbugs/bug006.go
+++ b/test/fixedbugs/bug006.go
@@ -12,6 +12,6 @@ const (
);
func main() {
- if g == 0.0 { print "zero\n";}
- if g != 4.5 { print " fail\n"; sys.exit(1); }
+ if g == 0.0 { print("zero\n");}
+ if g != 4.5 { print(" fail\n"); sys.exit(1); }
}