Skip to content

Commit 9b46e9c

Browse files
Shubhamlmpgitster
authored andcommitted
t7001: remove unnecessary blank lines
Some tests use a deprecated style in which there are unnecessary blank lines after the opening quote of the test body and before the closing quote. So we should remove these unnecessary blank lines. Signed-off-by: Shubham Verma <[email protected]> Reviewed-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a76d906 commit 9b46e9c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

t/t7001-mv.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ test_expect_success "Sergey Vlasov's test case" '
182182
'
183183

184184
test_expect_success 'absolute pathname' '(
185-
186185
rm -fr mine &&
187186
mkdir mine &&
188187
cd mine &&
@@ -196,12 +195,9 @@ test_expect_success 'absolute pathname' '(
196195
! test -d sub &&
197196
test -d in &&
198197
git ls-files --error-unmatch in/file
199-
200-
201198
)'
202199

203200
test_expect_success 'absolute pathname outside should fail' '(
204-
205201
rm -fr mine &&
206202
mkdir mine &&
207203
cd mine &&
@@ -216,7 +212,6 @@ test_expect_success 'absolute pathname outside should fail' '(
216212
test -d sub &&
217213
! test -d ../in &&
218214
git ls-files --error-unmatch sub/file
219-
220215
)'
221216

222217
test_expect_success 'git mv to move multiple sources into a directory' '
@@ -232,7 +227,6 @@ test_expect_success 'git mv to move multiple sources into a directory' '
232227
'
233228

234229
test_expect_success 'git mv should not change sha1 of moved cache entry' '
235-
236230
rm -fr .git &&
237231
git init &&
238232
echo 1 >dirty &&
@@ -243,7 +237,6 @@ test_expect_success 'git mv should not change sha1 of moved cache entry' '
243237
echo 2 >dirty2 &&
244238
git mv dirty2 dirty &&
245239
[ "$entry" = "$(git ls-files --stage dirty | cut -f 1)" ]
246-
247240
'
248241

249242
rm -f dirty dirty2
@@ -266,7 +259,6 @@ test_expect_success 'git mv error on conflicted file' '
266259
'
267260

268261
test_expect_success 'git mv should overwrite symlink to a file' '
269-
270262
rm -fr .git &&
271263
git init &&
272264
echo 1 >moved &&
@@ -279,13 +271,11 @@ test_expect_success 'git mv should overwrite symlink to a file' '
279271
test "$(cat symlink)" = 1 &&
280272
git update-index --refresh &&
281273
git diff-files --quiet
282-
283274
'
284275

285276
rm -f moved symlink
286277

287278
test_expect_success 'git mv should overwrite file with a symlink' '
288-
289279
rm -fr .git &&
290280
git init &&
291281
echo 1 >moved &&
@@ -296,11 +286,9 @@ test_expect_success 'git mv should overwrite file with a symlink' '
296286
! test -e symlink &&
297287
git update-index --refresh &&
298288
git diff-files --quiet
299-
300289
'
301290

302291
test_expect_success SYMLINKS 'check moved symlink' '
303-
304292
test -h moved
305293
'
306294

0 commit comments

Comments
 (0)