(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestCompareCommitsPath(t *testing.T) { |
| 86 | got := CompareCommitsPath("alice", "example", "old", "new") |
| 87 | want := "alice/example/compare/old...new" |
| 88 | assert.Equal(t, want, got) |
| 89 | } |
| 90 | |
| 91 | func TestUserPath(t *testing.T) { |
| 92 | if runtime.GOOS == "windows" { |
nothing calls this directly
no test coverage detected