Skip to content

Commit aa01681

Browse files
committed
fix tests
1 parent 1abe8c2 commit aa01681

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/git/commit_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ import (
1414
func TestCommitsCount(t *testing.T) {
1515
p, err := filepath.Abs(".")
1616
assert.NoError(t, err)
17-
commitsCount, err := CommitsCount(p, "4836fea8767c38f175f59f8f66579e76fe6354f5")
17+
commitsCount, err := CommitsCount(p, "a30e5bcaf83a82f5f7d1c89a6f9f7e52036d74af")
1818
assert.NoError(t, err)
19-
assert.Equal(t, int64(3), commitsCount)
19+
assert.Equal(t, int64(6), commitsCount)
2020
}
2121

2222
func TestGetFullCommitID(t *testing.T) {
2323
p, err := filepath.Abs(".")
2424
assert.NoError(t, err)
25-
id, err := GetFullCommitID(p, "4836fea8")
25+
id, err := GetFullCommitID(p, "a30e5bca")
2626
assert.NoError(t, err)
27-
assert.Equal(t, "4836fea8767c38f175f59f8f66579e76fe6354f5", id)
27+
assert.Equal(t, "a30e5bcaf83a82f5f7d1c89a6f9f7e52036d74af", id)
2828
}
2929

3030
func TestGetFullCommitIDError(t *testing.T) {

0 commit comments

Comments
 (0)