- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testIsTCPAddr (0.1 sec)
-
src/net/file_wasip1_test.go
t.Errorf("newFileListener: tcp listener type mismatch: %T", l) } else { testIsTCPAddr(t, "Addr", l.Addr()) } } func TestWasip1NewFileConn(t *testing.T) { if c, ok := newFileConn(newFD("tcp", -1)).(*TCPConn); !ok { t.Errorf("newFileConn: tcp conn type mismatch: %T", c) } else { testIsTCPAddr(t, "LocalAddr", c.LocalAddr()) testIsTCPAddr(t, "RemoteAddr", c.RemoteAddr()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 21:06:56 UTC 2023 - 3.8K bytes - Viewed (0)