Skip to content

Commit f1f3b5c

Browse files
committed
refactor: only use commit hash in history sentinel
1 parent 336a435 commit f1f3b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libevm/tooling/release/release_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func linearCommitsSince(t *testing.T, iter object.CommitIter, since *object.Comm
271271
t.Helper()
272272

273273
var commits []*object.Commit
274-
errReachedSince := fmt.Errorf("%T reached terminal commit %v", iter, since)
274+
errReachedSince := fmt.Errorf("%T reached terminal commit %v", iter, since.Hash)
275275

276276
err := iter.ForEach(func(c *object.Commit) error {
277277
if c.Hash == since.Hash {

0 commit comments

Comments
 (0)