tests: Normalize trailing white space away in test output
We don't really care for it there, and git's pre-commit hook flags it, which is annoying. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
d28487acac
commit
37ff3774ec
4 changed files with 292 additions and 288 deletions
|
@ -118,6 +118,10 @@ while (<>) {
|
|||
# Windows %#g prints it with seven significant digits instead of six
|
||||
s/ 0\.000000/ 0.00000/g
|
||||
if $dump =~ /^[a-z]/;
|
||||
### Trailing white space
|
||||
# We don't really care for it in test output, and git's pre-commit
|
||||
# hook flags it, which is annoying.
|
||||
s/\s+$//;
|
||||
|
||||
print "$pfx$_\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue