diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2012-02-03 11:43:24 -0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2012-02-03 11:43:24 -0800 |
commit | 040fe32119580cbb480d38dec8cfffd06d2dbf3a (patch) | |
tree | 31379ecee9be153925fea91eefa988b7c2d1f635 /test/eof1.go | |
parent | 10f1b6a0744bac6af16c72a48448027e7041ea25 (diff) | |
download | go-040fe32119580cbb480d38dec8cfffd06d2dbf3a.tar.gz go-040fe32119580cbb480d38dec8cfffd06d2dbf3a.zip |
test: don't use package main for files without a main function
Part of issue 2833, but works fine with current test runner.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5606056
Diffstat (limited to 'test/eof1.go')
-rw-r--r-- | test/eof1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/eof1.go b/test/eof1.go index c39a3cfdb1..060c902e7e 100644 --- a/test/eof1.go +++ b/test/eof1.go @@ -4,6 +4,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package main +package eof1 // No newline at the end of this comment.
\ No newline at end of file |