File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,23 @@ import (
1212)
1313
1414func TestCommitsCount (t * testing.T ) {
15- p , err := filepath .Abs ("." )
15+ p , err := filepath .Abs ("../../ " )
1616 assert .NoError (t , err )
1717 commitsCount , err := CommitsCount (p , "a30e5bcaf83a82f5f7d1c89a6f9f7e52036d74af" )
1818 assert .NoError (t , err )
1919 assert .Equal (t , int64 (6 ), commitsCount )
2020}
2121
2222func TestGetFullCommitID (t * testing.T ) {
23- p , err := filepath .Abs ("." )
23+ p , err := filepath .Abs ("../../ " )
2424 assert .NoError (t , err )
2525 id , err := GetFullCommitID (p , "a30e5bca" )
2626 assert .NoError (t , err )
2727 assert .Equal (t , "a30e5bcaf83a82f5f7d1c89a6f9f7e52036d74af" , id )
2828}
2929
3030func TestGetFullCommitIDError (t * testing.T ) {
31- p , err := filepath .Abs ("." )
31+ p , err := filepath .Abs ("../../ " )
3232 assert .NoError (t , err )
3333 id , err := GetFullCommitID (p , "unknown" )
3434 assert .Empty (t , id )
You can’t perform that action at this time.
0 commit comments