aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhinav Gupta <mail@abhinavg.net>2021-12-10 01:03:47 -0800
committerAbhinav Gupta <mail@abhinavg.net>2021-12-10 01:07:51 -0800
commit4ccea5bb8d8c12cb31dba22f36864ffb91529559 (patch)
tree1d35f70e48903763a1a9069d4d3d146fec8ac2ed
parent0dcebfb72bbdaf01554f938402e699d67937c5a0 (diff)
downloadgo-git-4ccea5bb8d8c12cb31dba22f36864ffb91529559.tar.gz
Fix repository_test
The test verifies the exact error message.
-rw-r--r--repository_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository_test.go b/repository_test.go
index 2bc5c90..39dac14 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -2756,7 +2756,7 @@ func (s *RepositorySuite) TestResolveRevisionWithErrors(c *C) {
datas := map[string]string{
"efs/heads/master~": "reference not found",
"HEAD^3": `Revision invalid : "3" found must be 0, 1 or 2 after "^"`,
- "HEAD^{/whatever}": `No commit message match regexp : "whatever"`,
+ "HEAD^{/whatever}": `no commit message match regexp: "whatever"`,
"4e1243bd22c66e76c2ba9eddc1f91394e57f9f83": "reference not found",
}