MCPcopy Create free account
hub / github.com/entireio/git-sync / TestNormalizeRepoURL

Function TestNormalizeRepoURL

cmd/git-sync-bench/main_test.go:79–87  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func 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}

Callers

nothing calls this directly

Calls 1

normalizeRepoURLFunction · 0.85

Tested by

no test coverage detected