summaryrefslogtreecommitdiff
path: root/t/t4202-log.sh
diff options
context:
space:
mode:
authorAbhishek Kumar <abhishekkumar8222@gmail.com>2020-02-24 13:38:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 21:15:04 (GMT)
commitffe005576ac2bd46021fc80112ba7e8e0ab5dd10 (patch)
treef2c384d7aa7350d176bb31814a8f257355a93d4d /t/t4202-log.sh
parent989eea958bb3a334c73abcfffb9aa3ec3ed56766 (diff)
downloadgit-ffe005576ac2bd46021fc80112ba7e8e0ab5dd10.zip
git-ffe005576ac2bd46021fc80112ba7e8e0ab5dd10.tar.gz
git-ffe005576ac2bd46021fc80112ba7e8e0ab5dd10.tar.bz2
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-xt/t4202-log.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh
index e025a9c..4694b6d 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' '