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 <shubhunic@gmail.com> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Shubham Verma committed
Feb 12, 2021 at 01:16 UTC
9b46e9c9cc6787cbf88d18c143006316928e3aa3
1 file changed
-12
t/t7001-mv.sh
-12
@@ -182,7 +182,6 @@ test_expect_success "Sergey Vlasov's test case" '
182
'
183
184
test_expect_success 'absolute pathname' '(
185
-
185
rm -fr mine &&
186
mkdir mine &&
187
cd mine &&
@@ -196,12 +195,9 @@ test_expect_success 'absolute pathname' '(
195
! test -d sub &&
196
test -d in &&
197
git ls-files --error-unmatch in/file
199
-
200
-
198
)'
199
200
test_expect_success 'absolute pathname outside should fail' '(
204
-
201
rm -fr mine &&
202
mkdir mine &&
203
cd mine &&
@@ -216,7 +212,6 @@ test_expect_success 'absolute pathname outside should fail' '(
212
test -d sub &&
213
! test -d ../in &&
214
git ls-files --error-unmatch sub/file
219
-
215
)'
216
217
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' '
227
'
228
229
test_expect_success 'git mv should not change sha1 of moved cache entry' '
235
-
230
rm -fr .git &&
231
git init &&
232
echo 1 >dirty &&
@@ -243,7 +237,6 @@ test_expect_success 'git mv should not change sha1 of moved cache entry' '
237
echo 2 >dirty2 &&
238
git mv dirty2 dirty &&
239
[ "$entry" = "$(git ls-files --stage dirty | cut -f 1)" ]
246
-
240
'
241
242
rm -f dirty dirty2
@@ -266,7 +259,6 @@ test_expect_success 'git mv error on conflicted file' '
259
'
260
261
test_expect_success 'git mv should overwrite symlink to a file' '
269
-
262
rm -fr .git &&
263
git init &&
264
echo 1 >moved &&
@@ -279,13 +271,11 @@ test_expect_success 'git mv should overwrite symlink to a file' '
271
test "$(cat symlink)" = 1 &&
272
git update-index --refresh &&
273
git diff-files --quiet
282
-
274
'
275
276
rm -f moved symlink
277
278
test_expect_success 'git mv should overwrite file with a symlink' '
288
-
279
rm -fr .git &&
280
git init &&
281
echo 1 >moved &&
@@ -296,11 +286,9 @@ test_expect_success 'git mv should overwrite file with a symlink' '
286
! test -e symlink &&
287
git update-index --refresh &&
288
git diff-files --quiet
299
-
289
'
290
291
test_expect_success SYMLINKS 'check moved symlink' '
303
-
292
test -h moved
293
'
294