]> Cypherpunks repositories - gostls13.git/commit
gotest: avoid conflicts with the name of the tested package
authorEsko Luontola <esko.luontola@gmail.com>
Mon, 17 Oct 2011 03:19:02 +0000 (14:19 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 17 Oct 2011 03:19:02 +0000 (14:19 +1100)
commitedd1c9111d9e7d140f186124a89d9c47239e27b1
treebaf40c31edded9473c4ef3ab6ebb98a28557fb56
parentaeacd9df771f79e819542410cce5c105a69afc64
gotest: avoid conflicts with the name of the tested package

Uses a generic solution of renaming the tested package, instead of
using cryptic names for all other imports, variables and methods
in the generated _testmain.go file.

Fixes #2346.

R=golang-dev, r, adg
CC=golang-dev, rsc
https://golang.org/cl/5254061
src/cmd/gotest/gotest.go