aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff-highlight/DiffHighlight.pm
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2026-03-23 02:02:10 -0400
committerJunio C Hamano <gitster@pobox.com>2026-03-23 07:42:27 -0700
commite57daf91ed0bde19595543c68c90948d5c47ebc6 (patch)
tree9505ad5f9f5222040f46172f18a942f930e0463c /contrib/diff-highlight/DiffHighlight.pm
parent0c49b950e8a0013c00051ad7a598a5ae0a2cdd07 (diff)
downloadgit-e57daf91ed0bde19595543c68c90948d5c47ebc6.tar.xz
diff-highlight: use test_decode_color in tests
The diff-highlight tests use raw color bytes when comparing expected and actual output. Let's use test_decode_color, which is our usual technique in other tests. It makes reading test output diffs a bit easier, since you're not relying on your terminal to interpret the result (or worse, interpreting characters yourself via "cat -A"). This will also make it easier to add tests with new colors/attributes, without having to pre-define the byte sequences ourselves. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/DiffHighlight.pm')
0 files changed, 0 insertions, 0 deletions