MCPcopy Create free account
hub / github.com/LegacyCodeHQ/clarity-cli / TestParseCommitRange_TwoDotSyntax

Function TestParseCommitRange_TwoDotSyntax

vcs/git/git_test.go:293–299  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

291}
292
293func 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
301func TestParseCommitRange_SingleCommit(t *testing.T) {
302 from, to, isRange := ParseCommitRange("abc123")

Callers

nothing calls this directly

Calls 1

ParseCommitRangeFunction · 0.85

Tested by

no test coverage detected