]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7001: put each command on a separate line
authorShubham Verma <shubhunic@gmail.com>
Thu, 11 Feb 2021 19:47:02 +0000 (01:17 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Feb 2021 21:42:16 +0000 (13:42 -0800)
Modern practice is to avoid multiple commands per line, and
instead place each command on its own line.

Signed-off-by: Shubham Verma <shubhunic@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7001-mv.sh

index cd67fe0bd1f957ca7ee60802da1c2da58d4076a7..f55d18ed9cd4355326a5e9bf3b38b2ef4ee4d387 100755 (executable)
@@ -145,7 +145,9 @@ test_expect_success 'checking the commit' '
 '
 
 test_expect_success 'do not move directory over existing directory' '
-       mkdir path0 && mkdir path0/path2 && test_must_fail git mv path2 path0
+       mkdir path0 &&
+       mkdir path0/path2 &&
+       test_must_fail git mv path2 path0
 '
 
 test_expect_success 'move into "."' '