push: test to verify that push errors are colored
commit8301266afa4a54ec3c27ac874017371b0a3178e1
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 21 Apr 2018 10:10:04 +0000 (21 12:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Apr 2018 01:38:47 +0000 (24 10:38 +0900)
tree9f8eca70afa8d7cc730ba16efc1d8b09ee125ec8
parent960786e7618942357c45e7e4c234f113e0aea9b1
push: test to verify that push errors are colored

This actually only tests whether the push errors/hints are colored if
the respective color.* config settings are `always`, but in the regular
case they default to `auto` (in which case we color the messages when
stderr is connected to an interactive terminal), therefore these tests
should suffice.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5541-http-push-smart.sh