Skip to content

Commit f58931c

Browse files
committed
t8013: minimum preparatory clean-up
The closing sq for each test piece should be placed at the beginning of line. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47ae905 commit f58931c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

t/t8013-blame-ignore-revs.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test_expect_success setup '
3131
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
3232
git rev-parse X >expect &&
3333
test_cmp expect actual
34-
'
34+
'
3535

3636
# Ignore X, make sure A is blamed for line 1 and B for line 2.
3737
test_expect_success ignore_rev_changing_lines '
@@ -44,7 +44,7 @@ test_expect_success ignore_rev_changing_lines '
4444
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
4545
git rev-parse B >expect &&
4646
test_cmp expect actual
47-
'
47+
'
4848

4949
# For ignored revs that have added 'unblamable' lines, attribute those to the
5050
# ignored commit.
@@ -67,7 +67,7 @@ test_expect_success ignore_rev_adding_unblamable_lines '
6767
6868
grep -E "^[0-9a-f]+ [0-9]+ 4" blame_raw | sed -e "s/ .*//" >actual &&
6969
test_cmp expect actual
70-
'
70+
'
7171

7272
# Ignore X and Y, both in separate files. Lines 1 == A, 2 == B.
7373
test_expect_success ignore_revs_from_files '
@@ -82,7 +82,7 @@ test_expect_success ignore_revs_from_files '
8282
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
8383
git rev-parse B >expect &&
8484
test_cmp expect actual
85-
'
85+
'
8686

8787
# Ignore X from the config option, Y from a file.
8888
test_expect_success ignore_revs_from_configs_and_files '
@@ -96,7 +96,7 @@ test_expect_success ignore_revs_from_configs_and_files '
9696
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
9797
git rev-parse B >expect &&
9898
test_cmp expect actual
99-
'
99+
'
100100

101101
# Override blame.ignoreRevsFile (ignore_x) with an empty string. X should be
102102
# blamed now for lines 1 and 2, since we are no longer ignoring X.
@@ -120,7 +120,7 @@ test_expect_success bad_files_and_revs '
120120
echo NOREV >ignore_norev &&
121121
test_must_fail git blame file --ignore-revs-file ignore_norev 2>err &&
122122
test_i18ngrep "invalid object name: NOREV" err
123-
'
123+
'
124124

125125
# For ignored revs that have added 'unblamable' lines, mark those lines with a
126126
# '*'
@@ -138,7 +138,7 @@ test_expect_success mark_unblamable_lines '
138138
139139
sed -n "4p" blame_raw | cut -c1 >actual &&
140140
test_cmp expect actual
141-
'
141+
'
142142

143143
# Commit Z will touch the first two lines. Y touched all four.
144144
# A--B--X--Y--Z
@@ -171,7 +171,7 @@ test_expect_success mark_ignored_lines '
171171
172172
sed -n "4p" blame_raw | cut -c1 >actual &&
173173
! test_cmp expect actual
174-
'
174+
'
175175

176176
# For ignored revs that added 'unblamable' lines and more recent commits changed
177177
# the blamable lines, mark the unblamable lines with a
@@ -190,7 +190,7 @@ test_expect_success mark_unblamable_lines_intermediate '
190190
191191
sed -n "4p" blame_raw | cut -c1 >actual &&
192192
test_cmp expect actual
193-
'
193+
'
194194

195195
# The heuristic called by guess_line_blames() tries to find the size of a
196196
# blame_entry 'e' in the parent's address space. Those calculations need to
@@ -227,7 +227,7 @@ test_expect_success ignored_chunk_negative_parent_size '
227227
git tag C &&
228228
229229
git blame file --ignore-rev B >blame_raw
230-
'
230+
'
231231

232232
# Resetting the repo and creating:
233233
#
@@ -269,6 +269,6 @@ test_expect_success ignore_merge '
269269
grep -E "^[0-9a-f]+ [0-9]+ 9" blame_raw | sed -e "s/ .*//" >actual &&
270270
git rev-parse C >expect &&
271271
test_cmp expect actual
272-
'
272+
'
273273

274274
test_done

0 commit comments

Comments
 (0)