Skip to content

Commit c631297

Browse files
tklausergopherbot
authored andcommitted
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 <[email protected]> Auto-Submit: Bryan Mills <[email protected]> TryBot-Bypass: Bryan Mills <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 0f1227c commit c631297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/exec/lp_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestFindExecutableVsNoexec(t *testing.T) {
5050
// Check that it works as expected.
5151
_, err = exec.LookPath(path)
5252
if err != nil {
53-
t.Fatalf("findExecutable: got %v, want nil", err)
53+
t.Fatalf("LookPath: got %v, want nil", err)
5454
}
5555

5656
for {

0 commit comments

Comments
 (0)