diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-29 18:14:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-01 11:59:51 -0800 |
commit | 13a4899886958c211b96bced228fdaaa42674491 (patch) | |
tree | dabc27cf0350eee1baab814ddcedb4ae7236079e /t/t4135/git-with tab.diff | |
parent | Merge branch 'jk/no-textconv-symlink' (diff) | |
download | tgif-13a4899886958c211b96bced228fdaaa42674491.tar.xz |
t4011: modernise style
Match the style to more modern test scripts, namely:
- The first line of each test has prereq, title and opening sq for the
script body. This makes the test shorter while reducing the need for
backslashes.
- Be prepared for the case in which the previous test may have failed.
If a test wants to start from not having "frotz" that the previous test
may have created, write "rm -f frotz", not "rm frotz".
- Prepare the expected output inside your own test.
- The order of comparison to check the result is "diff expected actual",
so that the output will show how the output from the git you just broke
is different from what is expected.
- Write no SP between redirection '>' (or '<' for that matter) and the
filename.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4135/git-with tab.diff')
0 files changed, 0 insertions, 0 deletions