(t *testing.T)
| 1728 | } |
| 1729 | |
| 1730 | func TestResolveTestTarget_EdgeCases(t *testing.T) { |
| 1731 | logger := zap.NewNop() |
| 1732 | |
| 1733 | t.Run("HTTP_InvalidURL", func(t *testing.T) { |
| 1734 | _, err := ResolveTestTarget("http://[::1]:namedport", nil, nil, "", 0, 0, true, logger) |
| 1735 | assert.Error(t, err) |
| 1736 | }) |
| 1737 | |
| 1738 | t.Run("GRPC_ConfigHost_ReplaceError", func(t *testing.T) { |
| 1739 | // Mock logic or ensure specific error condition if possible, though ReplaceGrpcHost is robust |
| 1740 | }) |
| 1741 | } |
| 1742 | |
| 1743 | // --- updateTemplateValuesFromHTTPResp: response-header walk tests --- |
| 1744 | // |
nothing calls this directly
no test coverage detected