summaryrefslogtreecommitdiff
path: root/test-ctype.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-08-17 01:53:56 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-18 14:02:02 -0700
commit4c0734578f3eee3fe6282014257edfcd7084174b (patch)
tree5db36805b2937f0044ce6b0865cca263285ec532 /test-ctype.c
parentmerge: do not mistake (ancestor of) tag for branch (diff)
downloadtgif-4c0734578f3eee3fe6282014257edfcd7084174b.tar.xz
t7600 (merge): modernize style
Guard setup commands with test_expect_success, so they are easier to visually skip over and get to the good part. While at it: - use "printf '%s\n' a b ..." instead of "cat <<EOF" for test vectors with short lines; - use test_cmp instead of test foo = bar where possible, for better output with -v on failure; - do not go to extraordinary lengths to print a relevant message when test commands fail. There is a patch in flight that could be used to restore the nice error messages in a cleaner way. Cc: Lars Hjemli <hjemli@gmail.com> Cc: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-ctype.c')
0 files changed, 0 insertions, 0 deletions