MCPcopy Create free account
hub / github.com/dropbox/dbxcli / TestRelativeToRejectsSiblingPrefix

Function TestRelativeToRejectsSiblingPrefix

cmd/get_test.go:955–960  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

953}
954
955func TestRelativeToRejectsSiblingPrefix(t *testing.T) {
956 _, err := relativeTo("/remote", "/remote2/file.txt")
957 if err == nil {
958 t.Fatal("expected error for sibling path with shared prefix")
959 }
960}

Callers

nothing calls this directly

Calls 1

relativeToFunction · 0.85

Tested by

no test coverage detected