From: Tobias Klauser Date: Mon, 18 Sep 2023 15:41:55 +0000 (+0200) Subject: os/exec: adjust function name in fatal message X-Git-Tag: go1.22rc1~807 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c6312973257928acdc5f89662a0dd8f8e61ce19c;p=gostls13.git os/exec: adjust function name in fatal message CL 481620 changed the test to use LookPath. Change-Id: Ie7b3110775b586701b6df6aeee38f26402227eb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/529095 Reviewed-by: Bryan Mills Auto-Submit: Bryan Mills TryBot-Bypass: Bryan Mills Auto-Submit: Tobias Klauser Run-TryBot: Bryan Mills Reviewed-by: Ian Lance Taylor --- diff --git a/src/os/exec/lp_linux_test.go b/src/os/exec/lp_linux_test.go index 60cb13e9b7..a7f9aa24b8 100644 --- a/src/os/exec/lp_linux_test.go +++ b/src/os/exec/lp_linux_test.go @@ -50,7 +50,7 @@ func TestFindExecutableVsNoexec(t *testing.T) { // Check that it works as expected. _, err = exec.LookPath(path) if err != nil { - t.Fatalf("findExecutable: got %v, want nil", err) + t.Fatalf("LookPath: got %v, want nil", err) } for {