Skip to content

Commit

Permalink
fix: add additional commit depth test
Browse files Browse the repository at this point in the history
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
  • Loading branch information
ashearin committed Nov 15, 2023
1 parent 71e998d commit 990c8f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clients/gitlabrepo/commits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ func TestListRawCommits(t *testing.T) {
want: 30,
wantErr: false,
},
{
name: "request more commits than exist in the repo",
commitsPath: "./testdata/valid-commits",
commitDepth: 60,
want: 32,
wantErr: false,
},
{
name: "failure fetching commits",
commitsPath: "./testdata/invalid-commits",
Expand Down

0 comments on commit 990c8f6

Please sign in to comment.