aboutsummaryrefslogtreecommitdiff
path: root/src/os/path_windows_test.go
diff options
context:
space:
mode:
authorracequite <quiterace@gmail.com>2024-04-23 11:45:49 +0000
committerGopher Robot <gobot@golang.org>2024-04-23 16:37:32 +0000
commit83613293d86eb6c6508508ddb1345f6b37bb80ec (patch)
tree01bcd925d5f9b4f0c7df44c70126af40111d7af9 /src/os/path_windows_test.go
parent0304d035cd1a35762b0d1e394f13345e29107b63 (diff)
downloadgo-83613293d86eb6c6508508ddb1345f6b37bb80ec.tar.gz
go-83613293d86eb6c6508508ddb1345f6b37bb80ec.zip
all: fix some typos in comments
This change fixes some typographic errors that I found in various packages. Change-Id: Ie2d0316f0137d6521496d389a9777659ae22128b GitHub-Last-Rev: 0307b03d50f664a00a4afa5afa08a35efb7f3045 GitHub-Pull-Request: golang/go#66917 Reviewed-on: https://go-review.googlesource.com/c/go/+/580077 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Commit-Queue: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/path_windows_test.go')
-rw-r--r--src/os/path_windows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/path_windows_test.go b/src/os/path_windows_test.go
index b37cae52b3..0b5d7099f6 100644
--- a/src/os/path_windows_test.go
+++ b/src/os/path_windows_test.go
@@ -30,7 +30,7 @@ func TestAddExtendedPrefix(t *testing.T) {
// (256) and thus requires fixLongPath to be correctly interpreted in I/O syscalls.
veryLong := "l" + strings.Repeat("o", 500) + "ng"
for _, test := range []struct{ in, want string }{
- // Testcases use word subsitutions:
+ // Test cases use word substitutions:
// * "long" is replaced with a very long pathname
// * "c:" or "C:" are replaced with the drive of the current directory (preserving case)
// * "cwd" is replaced with the current directory