aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2016-05-18 16:15:42 -0400
committerJunio C Hamano <gitster@pobox.com>2016-05-18 14:14:04 -0700
commit12f7526c66547ced1b670f5c0faeec5120fc9c7a (patch)
treeb3f8c36a9610bba3884a7822e8706a67e719945d /git-gui
parentd66f68ff985f494f3122ab05b532c6e41884ad64 (diff)
downloadgit-12f7526c66547ced1b670f5c0faeec5120fc9c7a.tar.gz
git-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 'git-gui')
0 files changed, 0 insertions, 0 deletions