summaryrefslogtreecommitdiff
path: root/t/t7509-commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7509-commit.sh')
-rwxr-xr-xt/t7509-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7509-commit.sh b/t/t7509-commit.sh
index 643ab03f99..77b6920029 100755
--- a/t/t7509-commit.sh
+++ b/t/t7509-commit.sh
@@ -40,7 +40,7 @@ test_expect_success '-C option copies only the message with --reset-author' '
test_tick &&
git commit -a -C Initial --reset-author &&
echo "author $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL> $GIT_AUTHOR_DATE" >expect &&
- author_header HEAD >actual
+ author_header HEAD >actual &&
test_cmp expect actual &&
message_body Initial >expect &&