[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving some indentation tests

From: Phillip Lord
Subject: Re: moving some indentation tests
Date: Sun, 02 Apr 2017 21:31:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Tom Tromey <address@hidden> writes:

> Currently indentation tests seem to be in test/manual/indent.  However,
> most of these could be run automatically.  So, I'd like to move them so
> that they'll be run by the ordinary "make check".
> I'm thinking I would move the files to test/data and then write a new
> test that simply iterates over these files and checking that
> re-indentation works.

My own package, assess, provides good support for this kind of
functionality. In particular, you can do this:

if you want to see what you are indenting. And, 


if you want to use a file.

I've been planning to add this to core -- I was hoping to wait till we
have a "core ELPA" packaging sorted out, but this might be some time. If
it would be helpful for the indentation tests, I could add this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]