aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorTrieu Huynh <vikingtc4@gmail.com>2026-03-28 22:29:55 +0900
committerJunio C Hamano <gitster@pobox.com>2026-03-28 11:37:09 -0700
commit699248d89e8e226cb228647a980449f8aadf03f0 (patch)
tree38d695f30d049481d02ba69d4915ecce1249e332 /t
parent206ca04c8669ddf5aa75c162dd97d8e1c499cda9 (diff)
downloadgit-699248d89e8e226cb228647a980449f8aadf03f0.tar.xz
t8003: modernise style
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t8003-blame-corner-cases.sh27
1 files changed, 0 insertions, 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 &&