From 987d551a992bfd6346045a2eb82f162992fd3550 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Thu, 22 Jun 2017 11:07:50 -0700 Subject: [PATCH] t4100: shake up one of the .topmsg subjects a bit If all works properly the same subject will be parsed but it provides additional tests for more code that way. Signed-off-by: Kyle J. McKay --- t/t4100-summary.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t4100-summary.sh b/t/t4100-summary.sh index 19d8fd3..4fd4953 100755 --- a/t/t4100-summary.sh +++ b/t/t4100-summary.sh @@ -90,6 +90,13 @@ test_expect_success 'setup' ' git checkout -f annihilated && test_tick && git commit --allow-empty -m "annihilated not empty" && + git checkout -f t/branch2 && + <.topmsg grep -v -i subject >.topmsg2 && + mv -f .topmsg2 .topmsg && + printf "%s\n" "subject:[PATCH] branch2" " topgit" >> .topmsg && + git add .topmsg && + test_tick && + git commit -m ".topmsg: no space after subject colon" && reset_repo && git clean -x -d -f && cd .. && -- 2.11.4.GIT