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

Function TestParseRemotePath_EmptyString

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

Source from the content-addressed store, hash-verified

73}
74
75func TestParseRemotePath_EmptyString(t *testing.T) {
76 host, path, ok := parseRemotePath("")
77 assert.False(t, ok)
78 assert.Equal(t, "", host)
79 assert.Equal(t, "", path)
80}
81
82func TestParseRemotePath_NoColon(t *testing.T) {
83 host, path, ok := parseRemotePath("just-a-hostname")

Callers

nothing calls this directly

Calls 1

parseRemotePathFunction · 0.85

Tested by

no test coverage detected