(t *testing.T)
| 140 | } |
| 141 | |
| 142 | func TestFormatRemotePath_LongIPv6(t *testing.T) { |
| 143 | result := formatRemotePath("2001:0db8:85a3::8a2e:0370:7334", "/data") |
| 144 | assert.Equal(t, "[2001:0db8:85a3::8a2e:0370:7334]:/data", result) |
| 145 | } |
| 146 | |
| 147 | func TestFormatRemotePath_DomainName(t *testing.T) { |
| 148 | result := formatRemotePath("example.com", "/remote/path") |
nothing calls this directly
no test coverage detected