diff options
| author | Dave Borowitz <dborowitz@google.com> | 2010-11-04 15:08:01 -0700 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-11-05 03:55:14 +0200 |
| commit | 88d035bd1502d507554f59d6c699b3759bc2b758 (patch) | |
| tree | 7d09337fb82a54f5d67cb77cb63db38130b62fdd /tests/t0403-write.c | |
| parent | f24fa0880cdaa997bb12b298d44bf54988d6cfb4 (diff) | |
| download | libgit2-88d035bd1502d507554f59d6c699b3759bc2b758.tar.gz | |
Update commit_time along with committer.
Diffstat (limited to 'tests/t0403-write.c')
| -rw-r--r-- | tests/t0403-write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t0403-write.c b/tests/t0403-write.c index d91e7b64d..dfafca6f6 100644 --- a/tests/t0403-write.c +++ b/tests/t0403-write.c @@ -58,6 +58,7 @@ BEGIN_TEST(writenew_test) must_be_true(strcmp(committer->name, COMMITTER_NAME) == 0); must_be_true(strcmp(committer->email, COMMITTER_EMAIL) == 0); must_be_true(committer->time == 123456789); + must_be_true(git_commit_time(commit) == 123456789); must_be_true(strcmp(git_commit_message(commit), COMMIT_MESSAGE) == 0); |
