Skip to content

Commit

Permalink
os: fix typo in test
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Mar 24, 2024
1 parent a6ecdf2 commit 02c18c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/readfrom_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 02c18c2

Please sign in to comment.