"Fossies" - the Fresh Open Source Software Archive  

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

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

snippets10.t  (Perl-Tidy-20191203):snippets10.t  (Perl-Tidy-20200110)
skipping to change at line 430 skipping to change at line 430
'side_comments1.def' => { 'side_comments1.def' => {
source => "side_comments1", source => "side_comments1",
params => "def", params => "def",
expect => <<'#4...........', expect => <<'#4...........',
# side comments at different indentation levels should not be aligned # side comments at different indentation levels should not be aligned
{ {
{ {
{ {
{ {
{ { ${msg} = "Hello World!"; print "My message: ${msg}\n"; }
${msg} = "Hello World!";
print "My message: ${msg}\n";
}
} #end level 4 } #end level 4
} # end level 3 } # end level 3
} # end level 2 } # end level 2
} # end level 1 } # end level 1
#4........... #4...........
}, },
'sil1.def' => { 'sil1.def' => {
source => "sil1", source => "sil1",
params => "def", params => "def",
skipping to change at line 535 skipping to change at line 532
{} ~~ {}; {} ~~ {};
{} ~~ { 1 => 2 }; {} ~~ { 1 => 2 };
{ 1 => 2 } ~~ {}; { 1 => 2 } ~~ {};
{ 1 => 2 } ~~ { 1 => 2 }; { 1 => 2 } ~~ { 1 => 2 };
{ 1 => 2 } ~~ { 1 => 2 }; { 1 => 2 } ~~ { 1 => 2 };
{ 1 => 2 } ~~ { 1 => 3 }; { 1 => 2 } ~~ { 1 => 3 };
{ 1 => 3 } ~~ { 1 => 2 }; { 1 => 3 } ~~ { 1 => 2 };
{ 1 => 2 } ~~ { 2 => 3 }; { 1 => 2 } ~~ { 2 => 3 };
{ 2 => 3 } ~~ { 1 => 2 }; { 2 => 3 } ~~ { 1 => 2 };
\%main:: ~~ { map { $_ => 'x' } keys %main:: }; \%main:: ~~ { map { $_ => 'x' } keys %main:: };
{ map { $_ => 'x' } keys %main:: } {
map { $_ => 'x' } keys %main::
}
~~ \%main::; ~~ \%main::;
\%hash ~~ \%tied_hash; \%hash ~~ \%tied_hash;
\%tied_hash ~~ \%hash; \%tied_hash ~~ \%hash;
\%tied_hash ~~ \%tied_hash; \%tied_hash ~~ \%tied_hash;
\%tied_hash ~~ \%tied_hash; \%tied_hash ~~ \%tied_hash;
\%:: ~~ [ keys %main:: ]; \%:: ~~ [ keys %main:: ];
[ keys %main:: ] ~~ \%::; [ keys %main:: ] ~~ \%::;
\%:: ~~ []; \%:: ~~ [];
[] ~~ \%::; [] ~~ \%::;
{ "" => 1 } ~~ [undef]; { "" => 1 } ~~ [undef];
 End of changes. 2 change blocks. 
5 lines changed or deleted 4 lines changed or added

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