(t *testing.T)
| 77 | } |
| 78 | |
| 79 | func TestNormalizeRepoURL(t *testing.T) { |
| 80 | got, err := normalizeRepoURL("https://example.com/repo.git") |
| 81 | if err != nil { |
| 82 | t.Fatalf("normalizeRepoURL: %v", err) |
| 83 | } |
| 84 | if got != "https://example.com/repo.git" { |
| 85 | t.Fatalf("unexpected url: %s", got) |
| 86 | } |
| 87 | } |
nothing calls this directly
no test coverage detected