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

Function TestResolveDestination_ExplicitRootDirectory

cmd/put_test.go:415–421  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

413}
414
415func 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
423func TestResolveDestination_MetadataError(t *testing.T) {
424 mock := &mockFilesClient{

Callers

nothing calls this directly

Calls 1

resolveDestinationFunction · 0.85

Tested by

no test coverage detected