summaryrefslogtreecommitdiff
path: root/replace-object.h
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2021-12-09 00:11:09 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-13 10:29:48 -0800
commit77b1d9f355b44b68b4bb08a8143d13330fe4c562 (patch)
tree17c51dff4fbb0d7815a76e16ccde74cd9e89a62c /replace-object.h
parenttests: fix broken &&-chains in `{...}` groups (diff)
downloadtgif-77b1d9f355b44b68b4bb08a8143d13330fe4c562.tar.xz
tests: apply modern idiom for signaling test failure
Simplify the way these tests signal failure by employing the modern idiom of making the `if` or `case` statement resolve to false when an error is detected. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace-object.h')
0 files changed, 0 insertions, 0 deletions