diff options
author | Taru Karttunen <taruti@taruti.net> | 2018-08-29 12:43:23 +0000 |
---|---|---|
committer | Taru Karttunen <taruti@taruti.net> | 2018-08-29 13:44:35 +0000 |
commit | ba3ee05efbdeb11364d585ec4dfa84fe07e64430 (patch) | |
tree | c324dbc27e41c6db87386ccb643bf0b482784a6d /plumbing/object/tag_test.go | |
parent | 1cef577576855d92ca4a3b23e205d08b3dac9027 (diff) | |
download | go-git-ba3ee05efbdeb11364d585ec4dfa84fe07e64430.tar.gz |
plumbing: object: Clamp object timestamps before unix epoch to unix epoch
Signed-off-by: Taru Karttunen <taruti@taruti.net>
Diffstat (limited to 'plumbing/object/tag_test.go')
-rw-r--r-- | plumbing/object/tag_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go index 9900093..e7dd06e 100644 --- a/plumbing/object/tag_test.go +++ b/plumbing/object/tag_test.go @@ -265,7 +265,7 @@ func (s *TagSuite) TestStringNonCommit(c *C) { c.Assert(tag.String(), Equals, "tag TAG TWO\n"+ "Tagger: <>\n"+ - "Date: Mon Jan 01 00:00:00 0001 +0000\n"+ + "Date: Thu Jan 01 00:00:00 1970 +0000\n"+ "\n"+ "tag two\n") } |