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

login
register
mail settings
Submitter Gregory Szorc
Date April 25, 2017, 7:22 a.m.
Message ID <2e90214849bd824f776f.1493104971@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/20292/
State Deferred
Headers show

Comments

Gregory Szorc - April 25, 2017, 7:22 a.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@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.

Patch

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'