From: guoguangwu Date: Sun, 24 Mar 2024 12:06:41 +0000 (+0000) Subject: os: fix typo in test X-Git-Tag: go1.23rc1~783 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=25aa45afcf40ff6c699b47bad0cb609bba84da12;p=gostls13.git 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 Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI Run-TryBot: Emmanuel Odeke Reviewed-by: Emmanuel Odeke Auto-Submit: Emmanuel Odeke TryBot-Result: Gopher Robot Reviewed-by: Rob Pike --- 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)