(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestParseRemotePath_ColonButEmptyPath(t *testing.T) { |
| 90 | host, path, ok := parseRemotePath("192.168.1.1:") |
| 91 | assert.False(t, ok) |
| 92 | assert.Equal(t, "", host) |
| 93 | assert.Equal(t, "", path) |
| 94 | } |
| 95 | |
| 96 | func TestParseRemotePath_PathWithMultipleColons(t *testing.T) { |
| 97 | host, path, ok := parseRemotePath("host:path:with:colons") |
nothing calls this directly
no test coverage detected