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:
parent
c28528d489
commit
78d364c43e
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue