Skip to content

Commit c793f0f

Browse files
committed
attempt to fix tests
1 parent e66e2c2 commit c793f0f

14 files changed

+6
-2
lines changed

modules/git/repo_commit_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ func TestGetTagCommitWithSignature(t *testing.T) {
4444
assert.NoError(t, err)
4545
defer bareRepo1.Close()
4646

47-
commit, err := bareRepo1.GetCommit("3ad28a9149a2864384548f3d17ed7f38014c9e8a")
47+
// both the tag and the commit are signed here, this validates only the commit signature
48+
commit, err := bareRepo1.GetCommit("28b55526e7100924d864dd89e35c1ea62e7a5a32")
4849
assert.NoError(t, err)
4950
assert.NotNil(t, commit)
5051
assert.NotNil(t, commit.Signature)

modules/git/tests/repos/repo1_bare/MERGE_RR

Whitespace-only changes.
65 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <[email protected]> 1563741799 +0200 push
2+
feaf4ba6bc635fec442f46ddd4512416ec43c2c2 ce064814f4a0d337b333e646ece456cd39fab612 silverwind <[email protected]> 1668354026 +0100 push
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <[email protected]> 1563741799 +0200 push
2+
feaf4ba6bc635fec442f46ddd4512416ec43c2c2 ce064814f4a0d337b333e646ece456cd39fab612 silverwind <[email protected]> 1668354026 +0100 push
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
feaf4ba6bc635fec442f46ddd4512416ec43c2c2
1+
ce064814f4a0d337b333e646ece456cd39fab612
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
36f97d9a96457e2bab511db30fe2db03893ebc64

0 commit comments

Comments
 (0)