mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Use more specific test methods (#24265)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		@@ -97,6 +97,6 @@ func TestRepository_CommitsBetweenIDs(t *testing.T) {
 | 
			
		||||
	for i, c := range cases {
 | 
			
		||||
		commits, err := bareRepo1.CommitsBetweenIDs(c.NewID, c.OldID)
 | 
			
		||||
		assert.NoError(t, err)
 | 
			
		||||
		assert.Equal(t, c.ExpectedCommits, len(commits), "case %d", i)
 | 
			
		||||
		assert.Len(t, commits, c.ExpectedCommits, "case %d", i)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user