(t *testing.T)
| 125 | } |
| 126 | |
| 127 | func TestFormatRemotePath_PlainHost(t *testing.T) { |
| 128 | result := formatRemotePath("192.168.1.1", "/tmp/file.txt") |
| 129 | assert.Equal(t, "192.168.1.1:/tmp/file.txt", result) |
| 130 | } |
| 131 | |
| 132 | func TestFormatRemotePath_IPv6(t *testing.T) { |
| 133 | result := formatRemotePath("::1", "/tmp/file.txt") |
nothing calls this directly
no test coverage detected