(portName string)
| 484 | } |
| 485 | |
| 486 | func (t *T) Conn(portName string) Conn { |
| 487 | port := t.ports[portName] |
| 488 | if port == 0 { |
| 489 | panic("tests: connection for the unused port name is requested") |
| 490 | } |
| 491 | |
| 492 | return t.ConnUnnamed(port) |
| 493 | } |
| 494 | |
| 495 | func (t *T) Subtest(name string, f func(t *T)) { |
| 496 | t.T.Run(name, func(subTT *testing.T) { |