diff options
| author | Kousik Sanagavarapu <five231003@gmail.com> | 2023-09-25 23:13:09 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-09-25 14:52:33 -0700 |
| commit | 0144f0de77edc96c6cd72ab9d50a68fc4c9c092e (patch) | |
| tree | 7dbf8053b38a91a2ca65bda9292072617e9fa953 /commit-graph.c | |
| parent | t/t6300: cleanup test_atom (diff) | |
| download | git-0144f0de77edc96c6cd72ab9d50a68fc4c9c092e.tar.gz git-0144f0de77edc96c6cd72ab9d50a68fc4c9c092e.zip | |
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
