diff options
Diffstat (limited to 'internal/git/log/commit_test.go')
-rw-r--r-- | internal/git/log/commit_test.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/internal/git/log/commit_test.go b/internal/git/log/commit_test.go index a70efdb36..120604859 100644 --- a/internal/git/log/commit_test.go +++ b/internal/git/log/commit_test.go @@ -71,9 +71,10 @@ func TestParseRawCommit(t *testing.T) { out: &gitalypb.GitCommit{ Id: info.Oid, Author: &gitalypb.CommitAuthor{ - Name: []byte("Jane Doe"), - Email: []byte("janedoe@example.com"), - Date: ×tamp.Timestamp{Seconds: 9223371974719179007}, + Name: []byte("Jane Doe"), + Email: []byte("janedoe@example.com"), + Date: ×tamp.Timestamp{Seconds: 9223371974719179007}, + Timezone: []byte("+0200"), }, }, }, @@ -83,9 +84,10 @@ func TestParseRawCommit(t *testing.T) { out: &gitalypb.GitCommit{ Id: info.Oid, Author: &gitalypb.CommitAuthor{ - Name: []byte("Jane Doe"), - Email: []byte("janedoe@example.com"), - Date: ×tamp.Timestamp{Seconds: 9223371974719179007}, + Name: []byte("Jane Doe"), + Email: []byte("janedoe@example.com"), + Date: ×tamp.Timestamp{Seconds: 9223371974719179007}, + Timezone: []byte("+0200"), }, }, }, |