changeset 32122:1add41fc3c62 stable

test-diff-color: disable pager for expected output on Windows (issue5555) Windows uses `more.com`, which unhelpfully adds an extra trailing line consisting only of '\r'. It also converts tab characters to spaces, which throws off the last two tests. Setting the 'ui.formatted' option is what allowed the pager to be used by these tests in the first place.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 02 May 2017 22:26:09 -0400
parents fbb5f4bf9492
children c4eb23116a09
files tests/test-diff-color.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-diff-color.t	Tue May 02 17:09:00 2017 -0500
+++ b/tests/test-diff-color.t	Tue May 02 22:26:09 2017 -0400
@@ -4,6 +4,7 @@
   > [ui]
   > color = yes
   > formatted = always
+  > paginate = never
   > [color]
   > mode = ansi
   > EOF