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 matloob committed Dec 13, 2022
1 parent 7cecc7d commit 2f4217f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/coverage/lcov_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func TestLib(t *testing.T) {
}
func TestTool(t *testing.T) {
err := exec.Command("." + string(filepath.Separator) + "Tool").Run()
err := exec.Command(filepath.Join(".", "Tool")).Run()
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit 2f4217f

Please sign in to comment.