From 2f4217f0cd9745d732536a4061b8ffeb216c563f Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Tue, 13 Dec 2022 09:34:30 +0100 Subject: [PATCH] Adapt `lcov_coverage_test` to `exec.Command` change (#3392) `exec.Command` no longer implicitly looks in the current directory with Go 1.19. --- tests/core/coverage/lcov_coverage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/coverage/lcov_coverage_test.go b/tests/core/coverage/lcov_coverage_test.go index a46567ccc5..238daff1dd 100644 --- a/tests/core/coverage/lcov_coverage_test.go +++ b/tests/core/coverage/lcov_coverage_test.go @@ -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) }