aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/object/tag_test.go97
1 files changed, 53 insertions, 44 deletions
diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go
index 3dffc12..cd1d15d 100644
--- a/plumbing/object/tag_test.go
+++ b/plumbing/object/tag_test.go
@@ -357,60 +357,69 @@ YIefGtzXfldDxg4=
}
func (s *TagSuite) TestDecodeAndVerify(c *C) {
- objectText := `object 7dba2f128d1298e385b28b56a7e1c579779eac82
+ objectText := `object f6685df0aac4b5adf9eeb760e6d447145c5d0b56
type commit
-tag v1.6
-tagger Filip Navara <filip.navara@gmail.com> 1555269936 +0200
+tag v1.5
+tagger Máximo Cuadros <mcuadros@gmail.com> 1618566233 +0200
-Hello
-
-world
-
-boo
+signed tag
-----BEGIN PGP SIGNATURE-----
-iQEzBAABCAAdFiEEdRIEYXeoLk1t7PBDqeqoMkraaZ4FAlyziT4ACgkQqeqoMkra
-aZ502wgAxG4+69l8PYfq45u1R3CCf4x0m5WwcYwvaa4ang0S9mExh/C32NHnpM/V
-DbqMpAlFvBlixOsZ8FNWaM8VXnvRWyx64E6WnInxjx9+Wgv2fy5P1N5rtpvi+S2V
-iGc0RQJlIloqXr7qPYDrwcbgg6AFg9EPhgJxLyizglu9nYvNsH1InaPXMjzgGX8+
-3irnIYEMIrLcKPrCyHo4Q6gdBjEEBF8hFclPJ8OwXBPc6uNYjnDYx0me9TTQYqoG
-oGgO/rADU9fy4c/Q1ZQpocba/ca6abRJ9LAx9VXFOSlQrMKLgHCYfqU/MAZXKcZM
-6XXOL4+8Z3FJN6CapZKX7cdYB8LJnw==
-=t5Px
+iQGzBAABCAAdFiEE/h5sbbqJFh9j1AdUSqtFFGopTmwFAmB5XFkACgkQSqtFFGop
+TmxvgAv+IPjX5WCLFUIMx8hquMZp1VkhQrseE7rljUYaYpga8gZ9s4kseTGhy7Un
+61U3Ro6cTPEiQF/FkAGzS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