aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/updreq_test.go
diff options
context:
space:
mode:
authorCarlos Alexandro Becker <caarlos0@users.noreply.github.com>2022-01-19 11:38:59 -0300
committerGitHub <noreply@github.com>2022-01-19 15:38:59 +0100
commit1b36bebee9fa72b96e13ced3e18132644d34e6be (patch)
tree69b7a7ce390347d766422c433e1a15fc79f009f0 /plumbing/protocol/packp/updreq_test.go
parenta5bbcd278ab1467bf9a8dfa615649b6c4d699119 (diff)
downloadgo-git-1b36bebee9fa72b96e13ced3e18132644d34e6be.tar.gz
plumbing: protocol/pakp, update agent
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Diffstat (limited to 'plumbing/protocol/packp/updreq_test.go')
-rw-r--r--plumbing/protocol/packp/updreq_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/updreq_test.go b/plumbing/protocol/packp/updreq_test.go
index c4ccbaf..80e03fb 100644
--- a/plumbing/protocol/packp/updreq_test.go
+++ b/plumbing/protocol/packp/updreq_test.go
@@ -23,14 +23,14 @@ func (s *UpdReqSuite) TestNewReferenceUpdateRequestFromCapabilities(c *C) {
r := NewReferenceUpdateRequestFromCapabilities(cap)
c.Assert(r.Capabilities.String(), Equals,
- "agent=go-git/4.x report-status",
+ "agent=go-git/5.x report-status",
)
cap = capability.NewList()
cap.Set(capability.Agent, "foo")
r = NewReferenceUpdateRequestFromCapabilities(cap)
- c.Assert(r.Capabilities.String(), Equals, "agent=go-git/4.x")
+ c.Assert(r.Capabilities.String(), Equals, "agent=go-git/5.x")
cap = capability.NewList()