diff options
author | Robert Griesemer <gri@golang.org> | 2009-12-09 21:39:20 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-12-09 21:39:20 -0800 |
commit | 4d44d6a3d603ffe79bdd58981400b649c3b41670 (patch) | |
tree | 7c24c9fb97ed7e8ca25273f416044777277f716c /test/simassign.go | |
parent | 542099d78f36f1a23eb21fbca9dc6d3723fbdd25 (diff) | |
download | go-4d44d6a3d603ffe79bdd58981400b649c3b41670.tar.gz go-4d44d6a3d603ffe79bdd58981400b649c3b41670.zip |
missed a couple of files in test
R=rsc, r
https://golang.org/cl/172045
Diffstat (limited to 'test/simassign.go')
-rw-r--r-- | test/simassign.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/simassign.go b/test/simassign.go index ce86d48dbc..16f5a57143 100644 --- a/test/simassign.go +++ b/test/simassign.go @@ -9,14 +9,12 @@ package main var a,b,c,d,e,f,g,h,i int; func -printit() -{ +printit() { println(a,b,c,d,e,f,g,h,i); } func -testit(permuteok bool) bool -{ +testit(permuteok bool) bool { if a+b+c+d+e+f+g+h+i != 45 { print("sum does not add to 45\n"); printit(); @@ -40,8 +38,7 @@ swap(x, y int) (u, v int) { } func -main() -{ +main() { a = 1; b = 2; c = 3; |