aboutsummaryrefslogtreecommitdiffstats
path: root/tag_test.go
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2016-11-07 20:32:00 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2016-11-07 20:32:00 +0100
commit7b0f65f5f5486f5e32f749826744929813734e24 (patch)
treeda3d4bbf7caf3fe5d712fb3a1df9c42fb549ee2c /tag_test.go
parent0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (diff)
downloadgo-git-7b0f65f5f5486f5e32f749826744929813734e24.tar.gz
gofmt simplify (#111)
Diffstat (limited to 'tag_test.go')
-rw-r--r--tag_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag_test.go b/tag_test.go
index 811fee7..aaedebe 100644
--- a/tag_test.go
+++ b/tag_test.go
@@ -146,14 +146,14 @@ func (s *TagSuite) TestTagEncodeDecodeIdempotent(c *C) {
ts, err := time.Parse(time.RFC3339, "2006-01-02T15:04:05-07:00")
c.Assert(err, IsNil)
tags := []*Tag{
- &Tag{
+ {
Name: "foo",
Tagger: Signature{Name: "Foo", Email: "foo@example.local", When: ts},
Message: "Message\n\nFoo\nBar\nBaz\n\n",
TargetType: core.BlobObject,
Target: core.NewHash("b029517f6300c2da0f4b651b8642506cd6aaf45d"),
},
- &Tag{
+ {
Name: "foo",
Tagger: Signature{Name: "Foo", Email: "foo@example.local", When: ts},
TargetType: core.BlobObject,