tests: prove that ignore works
authorAugie Fackler <augie@google.com>
Mon, 06 Feb 2017 23:22:04 -0500
changeset 31000 84ec2d6a2831
parent 30999 334cf948c758
child 31001 e7eca6e1372e
tests: prove that ignore works
tests/test-pager.t
--- a/tests/test-pager.t	Mon Feb 06 22:52:47 2017 -0500
+++ b/tests/test-pager.t	Mon Feb 06 23:22:04 2017 -0500
@@ -204,3 +204,21 @@
    8: a 8
    9: a 9
   10: a 10
+
+Put annotate in the ignore list for pager:
+  $ cat >> $HGRCPATH <<EOF
+  > [pager]
+  > ignore = annotate
+  > EOF
+  $ hg blame a
+   0: a
+   1: a 1
+   2: a 2
+   3: a 3
+   4: a 4
+   5: a 5
+   6: a 6
+   7: a 7
+   8: a 8
+   9: a 9
+  10: a 10