diff options
author | Abhishek Kumar <abhishekkumar8222@gmail.com> | 2020-02-24 16:38:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-25 00:15:04 +0300 |
commit | ffe005576ac2bd46021fc80112ba7e8e0ab5dd10 (patch) | |
tree | f2c384d7aa7350d176bb31814a8f257355a93d4d /t/t4202-log.sh | |
parent | 989eea958bb3a334c73abcfffb9aa3ec3ed56766 (diff) |
lib-log-graph: consolidate colored graph cmp logic
Signed-off-by: Abhishek Kumar <abhishekkumar8222@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4202-log.sh')
-rwxr-xr-x | t/t4202-log.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh index e025a9cfc2..4694b6d0ce 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -537,9 +537,7 @@ EOF test_expect_success 'log --graph with merge with log.graphColors' ' test_config log.graphColors " blue,invalid-color, cyan, red , " && - git log --color=always --graph --date-order --pretty=tformat:%s | - test_decode_color | sed "s/ *\$//" >actual && - test_cmp expect.colors actual + lib_test_cmp_colored_graph --date-order --format=%s ' test_expect_success 'log --raw --graph -m with merge' ' |