[PATCH 0 of 5] Add 'unified' tests to the test framework

Nicolas Dumazet nicdumz at gmail.com
Thu Aug 12 19:03:52 CDT 2010

2010/8/13 Adrian Buehlmann <adrian at cadifra.com>:
> On 12.08.2010 21:51, Matt Mackall wrote:
>> On Thu, 2010-08-12 at 18:15 +0100, Christian Ebert wrote:
>>> I see quite a lot of trailing whitespace, e.g. on empty lines,
>>> in the new *.t files, ahem, <duck>
>> Yeah, we're going to need to teach check-code about these files too.
> 'hg log' causes an empty line at the end on its output, which results in
> a line containing only two spaces in *.t

Exactly. In this particular case, those trailing spaces are "normal".

A point that can be improved is space in continuations. run-tests
assumes that a continuation starts with
"  > ". Which means that if you ident a Python script for instance,
empty lines will be changed into "  > ", with a trailing space.
Matt, I guess that a line consisting only of "  >" (no trailing space)
could safely be interpreted a continuation line?

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Nicolas Dumazet — NicDumZ

More information about the Mercurial-devel mailing list