summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorKousik Sanagavarapu <five231003@gmail.com>2023-09-25 23:13:09 +0530
committerJunio C Hamano <gitster@pobox.com>2023-09-25 14:52:33 -0700
commit0144f0de77edc96c6cd72ab9d50a68fc4c9c092e (patch)
tree7dbf8053b38a91a2ca65bda9292072617e9fa953 /commit-graph.c
parent04830eb762c83609a63805716daedb36014f6b6c (diff)
t/t6300: introduce test_bad_atom
Introduce a new function "test_bad_atom", which is similar to "test_atom()" but should be used to check whether the correct error message is shown on stderr. Like "test_atom", the new function takes three arguments. The three arguments specify the ref, the format and the expected error message respectively, with an optional fourth argument for tweaking "test_expect_*" (which is by default "success"). Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Hariom Verma <hariom18599@gmail.com> Signed-off-by: Kousik Sanagavarapu <five231003@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions