aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_blob_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_blob_test.go')
-rw-r--r--modules/git/repo_blob_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_blob_test.go b/modules/git/repo_blob_test.go
index e122573954..8a5f5fcd5b 100644
--- a/modules/git/repo_blob_test.go
+++ b/modules/git/repo_blob_test.go
@@ -61,7 +61,7 @@ func TestRepository_GetBlob_NoId(t *testing.T) {
defer r.Close()
testCase := ""
- testError := fmt.Errorf("length must be 40: %s", testCase)
+ testError := fmt.Errorf("length %d has no matched object format: %s", len(testCase), testCase)
blob, err := r.GetBlob(testCase)
assert.Nil(t, blob)