1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:24:43 -07:00

os: fix typo in TestExecutable comment

Change-Id: I2ad5d73deaee57ccbb2c75378dcc2884e43be3bb
Reviewed-on: https://go-review.googlesource.com/82899
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Tobias Klauser 2017-12-09 12:31:41 +01:00 committed by Brad Fitzpatrick
parent 29cb57c5bd
commit b3a108879f

View File

@ -17,7 +17,7 @@ import (
const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH"
func TestExecutable(t *testing.T) {
testenv.MustHaveExec(t) // will also execlude nacl, which doesn't support Executable anyway
testenv.MustHaveExec(t) // will also exclude nacl, which doesn't support Executable anyway
ep, err := os.Executable()
if err != nil {
t.Fatalf("Executable failed: %v", err)