summaryrefslogtreecommitdiff
path: root/t/lib-git-p4.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-03-22 18:15:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-24 15:11:44 -0700
commit57b6dc76f28544737b5aa6bddafa2ee5f42047d1 (patch)
tree2d7a23f11ea446634c998502b2c1626787fca5bf /t/lib-git-p4.sh
parentt4209: set up expectations up front (diff)
downloadtgif-57b6dc76f28544737b5aa6bddafa2ee5f42047d1.tar.xz
t4209: factor out helper function test_log()
Twelve tests in t4209 follow the same simple pattern for description, git log call and checking. Extract that shared logic into a helper function named test_log. Test specifications become a lot more compact, new tests can be added more easily. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-p4.sh')
0 files changed, 0 insertions, 0 deletions