aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/lp_windows_test.go
diff options
context:
space:
mode:
authorMartin Möhrmann <martisch@uos.de>2016-02-24 11:55:20 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2016-02-24 18:42:29 +0000
commitfdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch)
tree5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/os/exec/lp_windows_test.go
parent4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff)
downloadgo-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.gz
go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.zip
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913 Reviewed-on: https://go-review.googlesource.com/19829 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/lp_windows_test.go')
-rw-r--r--src/os/exec/lp_windows_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/exec/lp_windows_test.go b/src/os/exec/lp_windows_test.go
index 8e1d4239bf..042e5a1389 100644
--- a/src/os/exec/lp_windows_test.go
+++ b/src/os/exec/lp_windows_test.go
@@ -117,7 +117,7 @@ func createEnv(dir, PATH, PATHEXT string) []string {
}
// createFiles copies srcPath file into multiply files.
-// It uses dir as preifx for all destination files.
+// It uses dir as prefix for all destination files.
func createFiles(t *testing.T, dir string, files []string, srcPath string) {
for _, f := range files {
installProg(t, filepath.Join(dir, f), srcPath)
@@ -431,7 +431,7 @@ var commandTests = []commandTest{
},
{
// LookPath(`a.exe`) will find `.\a.exe`, but prefixing that with
- // dir `p\a.exe` will refer to not existant file
+ // dir `p\a.exe` will refer to a non-existent file
files: []string{`a.exe`, `p\not_important_file`},
dir: `p`,
arg0: `a.exe`,
@@ -440,7 +440,7 @@ var commandTests = []commandTest{
},
{
// like above, but making test succeed by installing file
- // in refered destination (so LookPath(`a.exe`) will still
+ // in referred destination (so LookPath(`a.exe`) will still
// find `.\a.exe`, but we successfully execute `p\a.exe`)
files: []string{`a.exe`, `p\a.exe`},
dir: `p`,