t6010 (merge-base): modernize style
commit9cbdd76e097b01fa434dec9fdbe73b9cb6361e26
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 17 Aug 2010 06:57:12 +0000 (17 01:57 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 21:02:03 +0000 (18 14:02 -0700)
tree51daca77b28203a07cb8743592e3c09f9b5ad308
parent94d63ce2abfd8de9dc3c928383270ec6ca3605bb
t6010 (merge-base): modernize style

Guard setup with test_expect_success, put the opening quote
starting each test on the same line as the test_expect_* invocation,
and combine related actions into single tests.

While at it:

 - use test_cmp instead of expr or test $foo = $bar, for more helpful
   output with -v when tests fail;

 - use test_commit for brevity.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6010-merge-base.sh