Skip to content

Commit

Permalink
Adapt lcov_coverage_test to exec.Command change (bazelbuild#3392)
Browse files Browse the repository at this point in the history
`exec.Command` no longer implicitly looks in the current directory with Go 1.19.
  • Loading branch information
fmeum authored and healthy-pod committed Feb 22, 2023
1 parent 81acdce commit badf0a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/core/coverage/lcov_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ package lib_test
import (
"os/exec"
"path/filepath"
"strings"
"testing"
Expand All @@ -130,7 +131,7 @@ func TestLib(t *testing.T) {
}
func TestTool(t *testing.T) {
err := exec.Command("Tool").Run()
err := exec.Command(filepath.Join(".", "Tool")).Run()
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit badf0a3

Please sign in to comment.