Skip to content
Snippets Groups Projects
Commit a471833d authored by Kevin Ballard's avatar Kevin Ballard Committed by Junio C Hamano
Browse files

test-lib: extend test_decode_color to handle more color codes


Enhance the test_decode_color function to handle all common color codes,
including background colors and escapes that contain multiple codes.
This change necessitates changing <WHITE> to <BOLD>, so update t4034
as well.

This change is necessary for the next commit in order to test
background colors properly.

Signed-off-by: default avatarKevin Ballard <kevin@sb.org>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 5b57413c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment