summaryrefslogtreecommitdiff
path: root/t/t5100/msg0002
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2016-05-18 16:15:42 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-18 14:14:04 -0700
commit12f7526c66547ced1b670f5c0faeec5120fc9c7a (patch)
treeb3f8c36a9610bba3884a7822e8706a67e719945d /t/t5100/msg0002
parentt1500: be considerate to future potential tests (diff)
downloadtgif-12f7526c66547ced1b670f5c0faeec5120fc9c7a.tar.xz
t1500: test_rev_parse: facilitate future test enhancements
Tests run by test_rev_parse() are nearly identical; each invokes git-rev-parse with a single option and compares the result against an expected value. Such duplication makes it onerous to extend the tests since any change needs to be repeated in each test. Avoid the duplication by parameterizing the test and driving it via a for-loop. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0002')
0 files changed, 0 insertions, 0 deletions