Git development
 help / color / mirror / Atom feed
From: Trieu Huynh <vikingtc4@gmail.com>
To: git@vger.kernel.org
Cc: Trieu Huynh <vikingtc4@gmail.com>
Subject: [GSoC PATCH 2/2] t8003: modernise style
Date: Sat, 28 Mar 2026 22:29:55 +0900	[thread overview]
Message-ID: <20260328132955.172262-2-vikingtc4@gmail.com> (raw)
In-Reply-To: <20260328132955.172262-1-vikingtc4@gmail.com>

Remove the blank lines at both ends of each test_expect_success body
to match the modern style used elsewhere in the test suite.

Signed-off-by: Trieu Huynh <vikingtc4@gmail.com>
---
 t/t8003-blame-corner-cases.sh | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/t/t8003-blame-corner-cases.sh b/t/t8003-blame-corner-cases.sh
index 17ed5af121..30e7960ace 100755
--- a/t/t8003-blame-corner-cases.sh
+++ b/t/t8003-blame-corner-cases.sh
@@ -49,77 +49,56 @@ test_expect_success setup '
 '
 
 test_expect_success 'straight copy without -C' '
-
 	git blame uno >actual &&
 	test_grep Second actual
-
 '
 
 test_expect_success 'straight move without -C' '
-
 	git blame dos >actual &&
 	test_grep Initial actual
-
 '
 
 test_expect_success 'straight copy with -C' '
-
 	git blame -C1 uno >actual &&
 	test_grep Second actual
-
 '
 
 test_expect_success 'straight move with -C' '
-
 	git blame -C1 dos >actual &&
 	test_grep Initial actual
-
 '
 
 test_expect_success 'straight copy with -C -C' '
-
 	git blame -C -C1 uno >actual &&
 	test_grep Initial actual
-
 '
 
 test_expect_success 'straight move with -C -C' '
-
 	git blame -C -C1 dos >actual &&
 	test_grep Initial actual
-
 '
 
 test_expect_success 'append without -C' '
-
 	git blame -L2 tres >actual &&
 	test_grep Second actual
-
 '
 
 test_expect_success 'append with -C' '
-
 	git blame -L2 -C1 tres >actual &&
 	test_grep Second actual
-
 '
 
 test_expect_success 'append with -C -C' '
-
 	git blame -L2 -C -C1 tres >actual &&
 	test_grep Second actual
-
 '
 
 test_expect_success 'append with -C -C -C' '
-
 	git blame -L2 -C -C -C1 tres >actual &&
 	test_grep Initial actual
-
 '
 
 test_expect_success 'blame wholesale copy' '
-
 	git blame -f -C -C1 HEAD^ -- cow >actual &&
 	sed -e "$pick_fc" actual >current &&
 	cat >expected <<-\EOF &&
@@ -128,11 +107,9 @@ test_expect_success 'blame wholesale copy' '
 	mouse-Third
 	EOF
 	test_cmp expected current
-
 '
 
 test_expect_success 'blame wholesale copy and more' '
-
 	git blame -f -C -C1 HEAD -- cow >actual &&
 	sed -e "$pick_fc" actual >current &&
 	cat >expected <<-\EOF &&
@@ -142,11 +119,9 @@ test_expect_success 'blame wholesale copy and more' '
 	mouse-Third
 	EOF
 	test_cmp expected current
-
 '
 
 test_expect_success 'blame wholesale copy and more in the index' '
-
 	cat >horse <<-\EOF &&
 	ABC
 	DEF
@@ -166,11 +141,9 @@ test_expect_success 'blame wholesale copy and more in the index' '
 	mouse-Third
 	EOF
 	test_cmp expected current
-
 '
 
 test_expect_success 'blame during cherry-pick with file rename conflict' '
-
 	test_when_finished "git reset --hard && git checkout main" &&
 	git checkout HEAD~3 &&
 	echo MOUSE >> mouse &&
-- 
2.43.0


      reply	other threads:[~2026-03-28 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-28 13:29 [GSoC PATCH 1/2] t8003: avoid suppressing git's exit code Trieu Huynh
2026-03-28 13:29 ` Trieu Huynh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260328132955.172262-2-vikingtc4@gmail.com \
    --to=vikingtc4@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox