summaryrefslogtreecommitdiff
path: root/test/ken/divmod.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-12-10 12:53:23 -0800
committerRobert Griesemer <gri@golang.org>2009-12-10 12:53:23 -0800
commit9e881380a86a61a84fdb9d478b5836b43eeafc25 (patch)
tree90f4a337216982bd1721572cced7062119dd475b /test/ken/divmod.go
parentae780b04f41ac629f07bf3561240c5e89e7004bb (diff)
downloadgolang-9e881380a86a61a84fdb9d478b5836b43eeafc25.tar.gz
make test/ken safe for optional semis
R=rsc, ken2, ken3 http://codereview.appspot.com/174042
Diffstat (limited to 'test/ken/divmod.go')
-rw-r--r--test/ken/divmod.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ken/divmod.go b/test/ken/divmod.go
index d0096288c..73c26927b 100644
--- a/test/ken/divmod.go
+++ b/test/ken/divmod.go
@@ -26,8 +26,7 @@ const
)
func
-main()
-{
+main() {
/* ideals */
if n1/d1 != q1 || n1%d1 != r1 {
panicln("ideal-1", n1, d1, n1/d1, n1%d1);