(t *testing.T)
| 130 | } |
| 131 | |
| 132 | func TestFormatRemotePath_IPv6(t *testing.T) { |
| 133 | result := formatRemotePath("::1", "/tmp/file.txt") |
| 134 | assert.Equal(t, "[::1]:/tmp/file.txt", result) |
| 135 | } |
| 136 | |
| 137 | func TestFormatRemotePath_IPv6Full(t *testing.T) { |
| 138 | result := formatRemotePath("fe80::1%eth0", "/home/user/data") |
nothing calls this directly
no test coverage detected