1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:54:44 -07:00

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 <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Bryan Mills <bcmills@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
Tobias Klauser 2023-09-18 17:41:55 +02:00 committed by Gopher Robot
parent 0f1227c507
commit c631297325

View File

@ -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 {