MCPcopy Create free account
hub / github.com/Driver-C/tryssh / TestFormatRemotePath_EmptyHost

Function TestFormatRemotePath_EmptyHost

pkg/control/path_test.go:152–155  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

150}
151
152func TestFormatRemotePath_EmptyHost(t *testing.T) {
153 result := formatRemotePath("", "/path")
154 assert.Equal(t, ":/path", result)
155}
156
157func TestFormatRemotePath_EmptyPath(t *testing.T) {
158 result := formatRemotePath("host", "")

Callers

nothing calls this directly

Calls 1

formatRemotePathFunction · 0.85

Tested by

no test coverage detected