summaryrefslogtreecommitdiffstats
path: root/test/remove-trailing-ws.test
Commit message (Collapse)AuthorAgeFilesLines
* Tree-wide white-space cleanupsJean Delvare2014-01-201-23/+23
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* test: ignore leading whitespace in wc output.Kent R. Spillner2013-12-141-16/+16
| | | | | | | | | | | | POSIX-compliant implementations of wc right-justify each column of output in 7 character wide columns. Tests that verify the output of wc -l should take into account the number of digits in the line count and add the appropriate padding. Therefore, in order for the tests to pass with both POSIX-compliant and non-POSIX-compliant implementations of wc tests should match wc output against patterns with optional whitespace prefixes. Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* Add a test case for remove-trailing-ws scriptJean Delvare2012-12-181-0/+193
As a bug was recently found in this script, add a test case covering both unified and context patch formats, so that hopefully no other bug creeps in in the future.