Mercurial > hg-stable
changeset 32025:d323d9e0d7b4
pager: stop using the color extension in tests
The feature is in core so let us use the core config knob directly.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sun, 16 Apr 2017 02:48:06 +0200 |
parents | ad41739c6b2b |
children | 57042e91521a |
files | tests/test-pager-legacy.t tests/test-pager.t |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pager-legacy.t Sun Apr 16 11:55:08 2017 -0700 +++ b/tests/test-pager-legacy.t Sun Apr 16 02:48:06 2017 +0200 @@ -158,8 +158,8 @@ Pager with color enabled allows colors to come through by default, even though stdout is no longer a tty. $ cat >> $HGRCPATH <<EOF - > [extensions] - > color= + > [ui] + > color = yes > [color] > mode = ansi > EOF
--- a/tests/test-pager.t Sun Apr 16 11:55:08 2017 -0700 +++ b/tests/test-pager.t Sun Apr 16 02:48:06 2017 +0200 @@ -96,8 +96,8 @@ Pager with color enabled allows colors to come through by default, even though stdout is no longer a tty. $ cat >> $HGRCPATH <<EOF - > [extensions] - > color= + > [ui] + > color = yes > [color] > mode = ansi > EOF