(t *testing.T)
| 953 | } |
| 954 | |
| 955 | func 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 | } |
nothing calls this directly
no test coverage detected