diff options
Diffstat (limited to 'src/os/exec/lp_windows_test.go')
| -rw-r--r-- | src/os/exec/lp_windows_test.go | 6 |
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`, |
