diff options
Diffstat (limited to 'internal/service/commit/count_commits_test.go')
-rw-r--r-- | internal/service/commit/count_commits_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/service/commit/count_commits_test.go b/internal/service/commit/count_commits_test.go index f3ad92740..a4b07611e 100644 --- a/internal/service/commit/count_commits_test.go +++ b/internal/service/commit/count_commits_test.go @@ -177,8 +177,9 @@ func TestFailedCountCommitsRequestDueToValidationError(t *testing.T) { rpcRequests := []gitalypb.CountCommitsRequest{ {Repository: &gitalypb.Repository{StorageName: "fake", RelativePath: "path"}, Revision: revision}, // Repository doesn't exist - {Repository: nil, Revision: revision}, // Repository is nil - {Repository: testRepo, Revision: nil, All: false}, // Revision is empty and All is false + {Repository: nil, Revision: revision}, // Repository is nil + {Repository: testRepo, Revision: nil, All: false}, // Revision is empty and All is false + {Repository: testRepo, Revision: []byte("--output=/meow"), All: false}, // Revision is invalid } for _, rpcRequest := range rpcRequests { |