summaryrefslogtreecommitdiff
path: root/t/t7001-mv.sh
diff options
context:
space:
mode:
authorShubham Verma <shubhunic@gmail.com>2021-02-11 19:47:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-02-11 21:42:16 (GMT)
commit5d683c3f4bcef667ca128d3d737fd36118d49a3d (patch)
treea97b9fa57a9b5020fc7ed3df1324715ca0836bac /t/t7001-mv.sh
parentd2ecddc9816e6e0b9732046be9e926b42d4b3226 (diff)
downloadgit-5d683c3f4bcef667ca128d3d737fd36118d49a3d.zip
git-5d683c3f4bcef667ca128d3d737fd36118d49a3d.tar.gz
git-5d683c3f4bcef667ca128d3d737fd36118d49a3d.tar.bz2
t7001: put each command on a separate line
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>
Diffstat (limited to 't/t7001-mv.sh')
-rwxr-xr-xt/t7001-mv.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index cd67fe0..f55d18e 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -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 "."' '