mirror of
https://github.com/creack/pty.git
synced 2026-04-01 11:07:11 +09:00
15 lines
178 B
Go
15 lines
178 B
Go
//go:build !zos
|
|
// +build !zos
|
|
|
|
package pty
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func getNonBlockingFile(t *testing.T, file *os.File, path string) *os.File {
|
|
t.Helper()
|
|
return file
|
|
}
|