tests/test-pager.t
branchstable
changeset 30847 e12553cfd0a4
parent 29344 bb3d5c20eaf6
child 30942 65a3b4d67a65
--- a/tests/test-pager.t	Thu Jan 19 09:48:40 2017 -0800
+++ b/tests/test-pager.t	Thu Jan 19 23:01:32 2017 +0900
@@ -152,6 +152,11 @@
   summary:     modify a 9
   
 
+Pager should not start if stdout is not a tty.
+
+  $ hg log -l1 -q --config ui.formatted=False
+  10:46106edeeb38
+
 Pager with color enabled allows colors to come through by default,
 even though stdout is no longer a tty.
   $ cat >> $HGRCPATH <<EOF