go.tools/cmd/cover: fix build

Need the ./ for the path. Quick fix to get the build green, but what really is the right answer for Windows?

R=golang-dev
CC=golang-dev
https://golang.org/cl/10359044
This commit is contained in:
Rob Pike 2013-06-21 14:47:04 -07:00
parent c28528d489
commit 78d364c43e
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ const (
testdata = "testdata"
// Binaries we compile.
testcover = "testcover.exe"
testcover = "./testcover.exe"
)
var (
@ -51,7 +51,7 @@ func TestCover(t *testing.T) {
}
err = ioutil.WriteFile(coverInput, bytes.Join(lines, []byte("\n")), 0666)
// defer removal of test_line_go
// defer removal of test_line.go
if !debug {
defer os.Remove(coverInput)
}