mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
29cb57c5bd
commit
b3a108879f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import (
|
||||||
const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH"
|
const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH"
|
||||||
|
|
||||||
func TestExecutable(t *testing.T) {
|
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()
|
ep, err := os.Executable()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Executable failed: %v", err)
|
t.Fatalf("Executable failed: %v", err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue