(t *testing.T)
| 413 | } |
| 414 | |
| 415 | func TestResolveDestination_ExplicitRootDirectory(t *testing.T) { |
| 416 | mock := &mockFilesClient{} |
| 417 | got := resolveDestination(mock, "/local/a.txt", "", true) |
| 418 | if got != "/a.txt" { |
| 419 | t.Errorf("resolveDestination = %q, want /a.txt", got) |
| 420 | } |
| 421 | } |
| 422 | |
| 423 | func TestResolveDestination_MetadataError(t *testing.T) { |
| 424 | mock := &mockFilesClient{ |
nothing calls this directly
no test coverage detected