diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-02-20 20:03:18 +0400 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-02-20 20:03:18 +0400 |
commit | c51880eeaf80840e922309f3b5804d98ec647cc8 (patch) | |
tree | 9db552e720f49b81e1ba65d8b76ca17ee4606770 /tests-clar/revwalk | |
parent | 1d75acf7b7d9b5fd17c6d8ae62e4092f02315582 (diff) |
Simplify signature parsing
Diffstat (limited to 'tests-clar/revwalk')
-rw-r--r-- | tests-clar/revwalk/signatureparsing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/revwalk/signatureparsing.c b/tests-clar/revwalk/signatureparsing.c index 4f29dd14d..5c7d8813d 100644 --- a/tests-clar/revwalk/signatureparsing.c +++ b/tests-clar/revwalk/signatureparsing.c @@ -37,8 +37,8 @@ void test_revwalk_signatureparsing__do_not_choke_when_name_contains_angle_bracke cl_git_pass(git_commit_lookup(&commit, _repo, git_reference_target(ref))); signature = git_commit_committer(commit); - cl_assert_equal_s("Yu V. Bin Haacked", signature->email); - cl_assert_equal_s("", signature->name); + cl_assert_equal_s("foo@example.com", signature->email); + cl_assert_equal_s("<Yu V. Bin Haacked>", signature->name); cl_assert_equal_i(1323847743, (int)signature->when.time); cl_assert_equal_i(60, signature->when.offset); |