Source file src/os/timeout_windows_test.go
1 // Copyright 2025 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package os_test 6 7 import ( 8 "os" 9 "testing" 10 ) 11 12 func init() { 13 pipeDeadlinesTestCases = []pipeDeadlineTest{ 14 { 15 "named overlapped pipe", 16 func(t *testing.T) (r, w *os.File) { 17 name := pipeName() 18 w = newBytePipe(t, name, true) 19 r = newFileOverlapped(t, name, true) 20 return 21 }, 22 }, 23 } 24 } 25