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

Function TestFormatRemotePath_IPv6Full

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

Source from the content-addressed store, hash-verified

135}
136
137func TestFormatRemotePath_IPv6Full(t *testing.T) {
138 result := formatRemotePath("fe80::1%eth0", "/home/user/data")
139 assert.Equal(t, "[fe80::1%eth0]:/home/user/data", result)
140}
141
142func TestFormatRemotePath_LongIPv6(t *testing.T) {
143 result := formatRemotePath("2001:0db8:85a3::8a2e:0370:7334", "/data")

Callers

nothing calls this directly

Calls 1

formatRemotePathFunction · 0.85

Tested by

no test coverage detected