(t *testing.T)
| 405 | } |
| 406 | |
| 407 | func TestResolveDestination_ExplicitDirectory(t *testing.T) { |
| 408 | mock := &mockFilesClient{} |
| 409 | got := resolveDestination(mock, "/local/a.txt", "/folder", true) |
| 410 | if got != "/folder/a.txt" { |
| 411 | t.Errorf("resolveDestination = %q, want /folder/a.txt", got) |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func TestResolveDestination_ExplicitRootDirectory(t *testing.T) { |
| 416 | mock := &mockFilesClient{} |
nothing calls this directly
no test coverage detected