diff options
author | Shubham Verma <shubhunic@gmail.com> | 2021-02-12 01:17:02 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-11 13:42:16 -0800 |
commit | 5d683c3f4bcef667ca128d3d737fd36118d49a3d (patch) | |
tree | a97b9fa57a9b5020fc7ed3df1324715ca0836bac | |
parent | t7001: use '>' rather than 'touch' (diff) | |
download | tgif-5d683c3f4bcef667ca128d3d737fd36118d49a3d.tar.xz |
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>
-rwxr-xr-x | t/t7001-mv.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index cd67fe0bd1..f55d18ed9c 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 "."' ' |