Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-06-05 23:17:51 +0300
committerKim Carlbäcker <kim.carlbacker@gmail.com>2018-06-05 23:17:51 +0300
commit3d7234d8af40eb753b45b093aa16c020fbe5f340 (patch)
tree17a0d23f82c6907730bb81b740c4292e691cb5d1 /internal/helper/repo_test.go
parent3fa71ee1cb88199497524e8f19846d0936101c4e (diff)
Simplify and rename AssertGrpcError
Diffstat (limited to 'internal/helper/repo_test.go')
-rw-r--r--internal/helper/repo_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/helper/repo_test.go b/internal/helper/repo_test.go
index 5bb307b2e..53188000e 100644
--- a/internal/helper/repo_test.go
+++ b/internal/helper/repo_test.go
@@ -126,7 +126,7 @@ func TestGetRepoPath(t *testing.T) {
path, err := GetRepoPath(tc.repo)
if tc.err != codes.OK {
- testhelper.AssertGrpcError(t, err, tc.err, "")
+ testhelper.RequireGrpcError(t, err, tc.err)
return
}
@@ -150,7 +150,7 @@ func assertInvalidRepoWithoutFile(t *testing.T, repo *pb.Repository, repoPath, f
_, err := GetRepoPath(repo)
- testhelper.AssertGrpcError(t, err, codes.NotFound, "")
+ testhelper.RequireGrpcError(t, err, codes.NotFound)
}
func TestGetRepoPathWithCorruptedRepo(t *testing.T) {