mirror of https://github.com/golang/go.git
os: fix typo in test
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
a6ecdf29e3
commit
02c18c2777
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue