(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func Test_githubRepoDetect(t *testing.T) { |
| 52 | owner, repo, err := githubRepoDetect(".") |
| 53 | if err != nil { |
| 54 | t.Fatal(err) |
| 55 | } |
| 56 | expect := "mroth/bump" |
| 57 | actual := owner + "/" + repo |
| 58 | if expect != actual { |
| 59 | t.Errorf("want %v got %v", expect, actual) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func Benchmark_detectRemoteURL_GoGit(b *testing.B) { |
| 64 | for b.Loop() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…