t7001: put each command on a separate line
authorShubham Verma <redacted>
Thu, 11 Feb 2021 19:47:02 +0000 (01:17 +0530)
committerJunio C Hamano <redacted>
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 <redacted>
Reviewed-by: Eric Sunshine <redacted>
Signed-off-by: Junio C Hamano <redacted>
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 "."' '
git clone https://git.99rst.org/PROJECT