diff options
author | Rob Pike <r@golang.org> | 2008-06-27 14:15:06 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-06-27 14:15:06 -0700 |
commit | a82bdf049a2e4899a61283bfbe911df3a19a9b41 (patch) | |
tree | ded91bb1ff114ecb38376653ff550b28770c28e2 /test/helloworld.go | |
parent | eaeba3a481074022279836afc101c8c28a6841f8 (diff) | |
download | golang-a82bdf049a2e4899a61283bfbe911df3a19a9b41.tar.gz |
export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)
SVN=125173
Diffstat (limited to 'test/helloworld.go')
-rw-r--r-- | test/helloworld.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/helloworld.go b/test/helloworld.go index ae1f264f5..83d6b8551 100644 --- a/test/helloworld.go +++ b/test/helloworld.go @@ -6,7 +6,6 @@ package main -func main() int { +func main() { print "hello, world\n"; - return 0; } |