From a82bdf049a2e4899a61283bfbe911df3a19a9b41 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 27 Jun 2008 14:15:06 -0700 Subject: export sys.exit update tests to use exit rather than return ignore return value from main (actually done in prior CL) SVN=125173 --- test/helloworld.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/helloworld.go') 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; } -- cgit v1.2.3