From a43b933c90ed7207e1d573bf118e3c37541835f8 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Mon, 8 Aug 2022 13:56:50 +0800 Subject: go: update required version to be 1.17 and add 1.19 to CI (#7129) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/testutil/exec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/testutil') diff --git a/internal/testutil/exec.go b/internal/testutil/exec.go index eee1677b..45f08315 100644 --- a/internal/testutil/exec.go +++ b/internal/testutil/exec.go @@ -16,8 +16,8 @@ import ( // It is useful to mock "os/exec" functions in tests. When succeeded, it returns // the result produced by the test helper. // The test helper should: -// 1. Use WantHelperProcess function to determine if it is being called in helper mode. -// 2. Call fmt.Fprintln(os.Stdout, ...) to print results for the main test to collect. +// 1. Use WantHelperProcess function to determine if it is being called in helper mode. +// 2. Call fmt.Fprintln(os.Stdout, ...) to print results for the main test to collect. func Exec(helper string, envs ...string) (string, error) { cmd := exec.Command(os.Args[0], "-test.run="+helper, "--") cmd.Env = []string{"GO_WANT_HELPER_PROCESS=1"} -- cgit v1.2.3