X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2Fsnippets15.t;h=b51c0c5fc7f3e85d78378c8d9c6b5cb631ae17f4;hb=refs%2Ftags%2Fupstream%2F20221112;hp=f79abe8dbf34506e1b4cae6962bc68ab2620520c;hpb=c514d57dc8088e1f4d3f51857b1155c20085c296;p=perltidy.git diff --git a/t/snippets15.t b/t/snippets15.t index f79abe8..b51c0c5 100644 --- a/t/snippets15.t +++ b/t/snippets15.t @@ -407,11 +407,11 @@ elsif ( $i > $depth ) { $_ = 0; } # no one-line block for first map with -ce -cbl=map,sort,grep @sorted = map { $_->[0] -} sort { + } sort { $a->[1] <=> $b->[1] or $a->[0] cmp $b->[0] -} map { + } map { [ $_, length($_) ] -} @unsorted; + } @unsorted; #14........... },