From 9d7d6fa1d78c7bec08116175c3ebec6ea35977dc Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 19 Jun 2021 17:49:05 -0700 Subject: [PATCH] Testing Travis CI functionality --- examples/perltidy_hide.pl | 4 ++++ t/snippets/dump_negated_switches.pl | 2 ++ 2 files changed, 6 insertions(+) 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 { -- 2.39.5