[PATCH 3 of 6 STABLE] tests: drop unnecessary pager attend in test

Gregory Szorc gregory.szorc at gmail.com
Tue Apr 25 03:22:51 EDT 2017


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1493100643 25200
#      Mon Apr 24 23:10:43 2017 -0700
# Branch stable
# Node ID 2e90214849bd824f776fdeb94d82331d31ac0feb
# Parent  eb7d6dc353a3db12d1592bdc80233a270dfd90df
tests: drop unnecessary pager attend in test

`log` is attended by default. We don't need to specify pager.attend-log
in this test.

diff --git a/tests/test-pager.t b/tests/test-pager.t
--- a/tests/test-pager.t
+++ b/tests/test-pager.t
@@ -69,8 +69,9 @@ core:
    a 1
   +a 2
 
-If 'log' is in attend, then 'history' should also be paged:
-  $ hg history --limit 2 --config pager.attend=log
+Command aliases should have same behavior as main command
+
+  $ hg history --limit 2
   paged! 'changeset:   10:46106edeeb38\n'
   paged! 'tag:         tip\n'
   paged! 'user:        test\n'


More information about the Mercurial-devel mailing list