(t *testing.T)
| 255 | } |
| 256 | |
| 257 | func TestCoderConnectDialer_Overridden(t *testing.T) { |
| 258 | t.Parallel() |
| 259 | custom := &net.Dialer{Timeout: 99 * time.Second} |
| 260 | ctx := WithTestOnlyCoderConnectDialer(context.Background(), custom) |
| 261 | |
| 262 | dialer := testOrDefaultDialer(ctx) |
| 263 | assert.Equal(t, custom, dialer) |
| 264 | } |
| 265 | |
| 266 | func TestCoderConnectStdio(t *testing.T) { |
| 267 | t.Parallel() |
nothing calls this directly
no test coverage detected