(t *testing.T)
| 76 | } |
| 77 | |
| 78 | func TestClientReturnsAuthProviderErrors(t *testing.T) { |
| 79 | _, err := New(Options{Auth: errAuthProvider{}}).buildProbeConfig(context.Background(), ProbeRequest{ |
| 80 | Source: Endpoint{URL: "https://source.example/repo.git"}, |
| 81 | }) |
| 82 | if err == nil { |
| 83 | t.Fatalf("expected auth provider error") |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | func TestClientSyncEndToEndWithLocalRepos(t *testing.T) { |
| 88 | sourceRepo, sourceFS := syncertest.NewMemoryRepo(t) |
nothing calls this directly
no test coverage detected