tests/test-pager.t
changeset 31096 873ebdd6e84d
parent 31020 84ec2d6a2831
child 31414 d5eb20934c36
--- a/tests/test-pager.t	Thu Feb 23 21:20:26 2017 +0900
+++ b/tests/test-pager.t	Thu Feb 23 21:27:25 2017 +0900
@@ -89,6 +89,12 @@
   $ hg log -l1 -q --config ui.formatted=False
   10:46106edeeb38
 
+Pager should be disabled if pager.pager is empty (otherwise the output would
+be silently lost.)
+
+  $ hg log -l1 -q --config pager.pager=
+  10:46106edeeb38
+
 Pager with color enabled allows colors to come through by default,
 even though stdout is no longer a tty.
   $ cat >> $HGRCPATH <<EOF