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>
Trieu Huynh committed
Mar 28, 2026 at 22:29 UTC
699248d89e8e226cb228647a980449f8aadf03f0
1 file changed
-27
t/t8003-blame-corner-cases.sh
-27
@@ -49,77 +49,56 @@ test_expect_success setup '
49
'
50
51
test_expect_success 'straight copy without -C' '
52
-
52
git blame uno >actual &&
53
test_grep Second actual
55
-
54
'
55
56
test_expect_success 'straight move without -C' '
59
-
57
git blame dos >actual &&
58
test_grep Initial actual
62
-
59
'
60
61
test_expect_success 'straight copy with -C' '
66
-
62
git blame -C1 uno >actual &&
63
test_grep Second actual
69
-
64
'
65
66
test_expect_success 'straight move with -C' '
73
-
67
git blame -C1 dos >actual &&
68
test_grep Initial actual
76
-
69
'
70
71
test_expect_success 'straight copy with -C -C' '
80
-
72
git blame -C -C1 uno >actual &&
73
test_grep Initial actual
83
-
74
'
75
76
test_expect_success 'straight move with -C -C' '
87
-
77
git blame -C -C1 dos >actual &&
78
test_grep Initial actual
90
-
79
'
80
81
test_expect_success 'append without -C' '
94
-
82
git blame -L2 tres >actual &&
83
test_grep Second actual
97
-
84
'
85
86
test_expect_success 'append with -C' '
101
-
87
git blame -L2 -C1 tres >actual &&
88
test_grep Second actual
104
-
89
'
90
91
test_expect_success 'append with -C -C' '
108
-
92
git blame -L2 -C -C1 tres >actual &&
93
test_grep Second actual
111
-
94
'
95
96
test_expect_success 'append with -C -C -C' '
115
-
97
git blame -L2 -C -C -C1 tres >actual &&
98
test_grep Initial actual
118
-
99
'
100
101
test_expect_success 'blame wholesale copy' '
122
-
102
git blame -f -C -C1 HEAD^ -- cow >actual &&
103
sed -e "$pick_fc" actual >current &&
104
cat >expected <<-\EOF &&
@@ -128,11 +107,9 @@ test_expect_success 'blame wholesale copy' '
107
mouse-Third
108
EOF
109
test_cmp expected current
131
-
110
'
111
112
test_expect_success 'blame wholesale copy and more' '
135
-
113
git blame -f -C -C1 HEAD -- cow >actual &&
114
sed -e "$pick_fc" actual >current &&
115
cat >expected <<-\EOF &&
@@ -142,11 +119,9 @@ test_expect_success 'blame wholesale copy and more' '
119
mouse-Third
120
EOF
121
test_cmp expected current
145
-
122
'
123
124
test_expect_success 'blame wholesale copy and more in the index' '
149
-
125
cat >horse <<-\EOF &&
126
ABC
127
DEF
@@ -166,11 +141,9 @@ test_expect_success 'blame wholesale copy and more in the index' '
141
mouse-Third
142
EOF
143
test_cmp expected current
169
-
144
'
145
146
test_expect_success 'blame during cherry-pick with file rename conflict' '
173
-
147
test_when_finished "git reset --hard && git checkout main" &&
148
git checkout HEAD~3 &&
149
echo MOUSE >> mouse &&