diff options
author | SZEDER Gábor <szeder@ira.uka.de> | 2013-10-16 14:27:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-17 15:05:53 -0700 |
commit | ddeaf7ef0d23519cb810542978da54dd89d6fb73 (patch) | |
tree | 878aefe1b642c43e870466b41bef21656a920d03 /commit.c | |
parent | 3991e91063bb701d8ba12199b993a8f121f27f04 (diff) | |
download | git-ddeaf7ef0d23519cb810542978da54dd89d6fb73.tar.gz |
t4254: modernize tests
- Don't start tests with 'test $? = 0' to catch preparation done
outside the test_expect_success block.
- Move writing the bogus patch and the expected output into the
appropriate test_expect_success blocks.
- Use the test_must_fail helper instead of manually checking for
non-zero exit code.
- Use the debug-friendly test_path_is_file helper instead of 'test -f'.
- No space after '>'.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions