aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/lp_linux_test.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2023-09-18 17:41:55 +0200
committerGopher Robot <gobot@golang.org>2023-09-18 17:02:50 +0000
commitc6312973257928acdc5f89662a0dd8f8e61ce19c (patch)
tree95900b5b5e1b9bf7086f3cb1a603b0563fc87c17 /src/os/exec/lp_linux_test.go
parent0f1227c507c62b635a3b4b85f5b7a967df72b59f (diff)
downloadgo-c6312973257928acdc5f89662a0dd8f8e61ce19c.tar.xz
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>
Diffstat (limited to 'src/os/exec/lp_linux_test.go')
-rw-r--r--src/os/exec/lp_linux_test.go2
1 files changed, 1 insertions, 1 deletions
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 {