From: Steve Hancock Date: Sun, 20 Jun 2021 00:49:05 +0000 (-0700) Subject: Testing Travis CI functionality X-Git-Tag: 20210402.01~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9d7d6fa1d78c7bec08116175c3ebec6ea35977dc;p=perltidy.git Testing Travis CI functionality --- diff --git a/examples/perltidy_hide.pl b/examples/perltidy_hide.pl index df689a12..d30efe70 100755 --- a/examples/perltidy_hide.pl +++ b/examples/perltidy_hide.pl @@ -2,6 +2,10 @@ package main; use Perl::Tidy; +# Note: This program is no longer necessary because this capability is now +# built into perltidy, but the prograim is a good example of the use of +# prefilters and postfilters. + =pod Hide sections of as script from perltidy which are between special comments, diff --git a/t/snippets/dump_negated_switches.pl b/t/snippets/dump_negated_switches.pl index dbc81827..4c5d6577 100755 --- a/t/snippets/dump_negated_switches.pl +++ b/t/snippets/dump_negated_switches.pl @@ -86,6 +86,8 @@ foreach my $word ( sort (@short_list, @special) ) { $line = " "; } } + +$line =~ s/\s+$//; print "$line\n"; sub get_long_names {