author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 17 Aug 2010 06:57:12 +0000 (01:57 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Aug 2010 21:02:03 +0000 (14:02 -0700) | ||
commit | 9cbdd76e097b01fa434dec9fdbe73b9cb6361e26 | |
tree | 51daca77b28203a07cb8743592e3c09f9b5ad308 | tree | snapshot |
parent | 94d63ce2abfd8de9dc3c928383270ec6ca3605bb | commit | diff |
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>
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 | diff | blob | history |