"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/snippets9.t" between
Perl-Tidy-20191203.tar.gz and Perl-Tidy-20200110.tar.gz

About: Perltidy is a Perl script indenter and reformatter (beautifier).

snippets9.t  (Perl-Tidy-20191203):snippets9.t  (Perl-Tidy-20200110)
skipping to change at line 353 skipping to change at line 353
if (1) { 2; } if (1) { 2; }
else { 3; } else { 3; }
#12........... #12...........
}, },
'rt94338.def' => { 'rt94338.def' => {
source => "rt94338", source => "rt94338",
params => "def", params => "def",
expect => <<'#13...........', expect => <<'#13...........',
# for-loop in a parenthesized block-map triggered an error message # for-loop in a parenthesized block-map triggered an error message
map( { foreach my $item ( '0', '1' ) { print $item} } qw(a b c) ); map( {
foreach my $item ( '0', '1' ) {
print $item;
}
} qw(a b c) );
#13........... #13...........
}, },
'rt95419.def' => { 'rt95419.def' => {
source => "rt95419", source => "rt95419",
params => "def", params => "def",
expect => <<'#14...........', expect => <<'#14...........',
case "blah" => sub { case "blah" => sub {
{ a => 1 } { a => 1 }
}; };
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)