aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorguoguangwu <guoguangwug@gmail.com>2024-03-24 12:06:41 +0000
committerGopher Robot <gobot@golang.org>2024-03-25 15:26:11 +0000
commit25aa45afcf40ff6c699b47bad0cb609bba84da12 (patch)
treec905927e3dbc00cd2a4909e6b0562df3e0f773d1 /src/os
parent2c150f401bae604c203f733b3a1efcb9393fdb60 (diff)
downloadgo-25aa45afcf40ff6c699b47bad0cb609bba84da12.tar.gz
go-25aa45afcf40ff6c699b47bad0cb609bba84da12.zip
os: fix typo in test
Change-Id: Ib445940f0f24385dde1b62277c8083e6369d0645 GitHub-Last-Rev: 02c18c27773e966145e379933e4e01d4531e7ec3 GitHub-Pull-Request: golang/go#66503 Reviewed-on: https://go-review.googlesource.com/c/go/+/574016 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Auto-Submit: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/readfrom_linux_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/readfrom_linux_test.go b/src/os/readfrom_linux_test.go
index 93f78032e7..b292bffe2b 100644
--- a/src/os/readfrom_linux_test.go
+++ b/src/os/readfrom_linux_test.go
@@ -424,7 +424,7 @@ func testSpliceToTTY(t *testing.T, proto string, size int64) {
// to recreate the problem in the issue (#59041).
ttyFD, err := syscall.Open(ttyName, syscall.O_RDWR, 0)
if err != nil {
- t.Skipf("skipping test becaused failed to open tty: %v", err)
+ t.Skipf("skipping test because failed to open tty: %v", err)
}
defer syscall.Close(ttyFD)