(t *testing.T)
| 119 | } |
| 120 | |
| 121 | func TestIsRemoteFolder_NotFound(t *testing.T) { |
| 122 | mock := &mockFilesClient{ |
| 123 | getMetadataFn: func(arg *files.GetMetadataArg) (files.IsMetadata, error) { |
| 124 | return nil, fmt.Errorf("path/not_found/") |
| 125 | }, |
| 126 | } |
| 127 | if isRemoteFolder(mock, "/nonexistent") { |
| 128 | t.Error("expected false for not found") |
| 129 | } |
| 130 | } |
nothing calls this directly
no test coverage detected