author | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 May 2009 06:06:58 +0000 (23:06 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 May 2009 18:35:29 +0000 (11:35 -0700) | ||
commit | aceae2ef9261718324bf1853401d5ee9686a54a8 | |
tree | cb411ee10404aceb57a6553f6072cf5a33a44335 | tree | snapshot |
parent | b87fc96476c4218de044cf77b4c6d10d49aee78a | commit | diff |
t4007: modernize the style
This is one of the oldest scripts; update it to match more modern style.
Notably, we should:
- Put the test title on the same line as the "test_expect_success", and
end the line with a single-quote to begin the body of the test which is
one multi-line string; and
- Run as many commands inside test_expect_success, not outside, to catch
unexpected breakages.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is one of the oldest scripts; update it to match more modern style.
Notably, we should:
- Put the test title on the same line as the "test_expect_success", and
end the line with a single-quote to begin the body of the test which is
one multi-line string; and
- Run as many commands inside test_expect_success, not outside, to catch
unexpected breakages.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4007-rename-3.sh | diff | blob | history |