t4007: modernize the style
authorJunio C Hamano <gitster@pobox.com>
Sat, 23 May 2009 06:06:58 +0000 (23:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2009 18:35:29 +0000 (11:35 -0700)
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>
No differences found