(t *testing.T)
| 291 | } |
| 292 | |
| 293 | func TestParseCommitRange_TwoDotSyntax(t *testing.T) { |
| 294 | from, to, isRange := ParseCommitRange("abc123..def456") |
| 295 | |
| 296 | assert.Equal(t, "abc123", from) |
| 297 | assert.Equal(t, "def456", to) |
| 298 | assert.True(t, isRange) |
| 299 | } |
| 300 | |
| 301 | func TestParseCommitRange_SingleCommit(t *testing.T) { |
| 302 | from, to, isRange := ParseCommitRange("abc123") |
nothing calls this directly
no test coverage detected