pager: stop using the color extension in tests
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 16 Apr 2017 02:48:06 +0200
changeset 32025 d323d9e0d7b4
parent 32024 ad41739c6b2b
child 32026 57042e91521a
pager: stop using the color extension in tests The feature is in core so let us use the core config knob directly.
tests/test-pager-legacy.t
tests/test-pager.t
--- 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