diff options
| author | Jeff King <peff@peff.net> | 2026-03-23 02:02:10 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-23 07:42:27 -0700 |
| commit | e57daf91ed0bde19595543c68c90948d5c47ebc6 (patch) | |
| tree | 9505ad5f9f5222040f46172f18a942f930e0463c /contrib/diff-highlight/DiffHighlight.pm | |
| parent | 0c49b950e8a0013c00051ad7a598a5ae0a2cdd07 (diff) | |
| download | git-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
