X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2Fsnippets19.t;h=d3ed46fbe3ab2db98f31eaa957cb0d12438397e4;hb=effbe8e558790d5f5e4eb49a10b2ed020b0eaaee;hp=753c55216e9eea9acc64b00860caa363bedacf3b;hpb=c514d57dc8088e1f4d3f51857b1155c20085c296;p=perltidy.git diff --git a/t/snippets19.t b/t/snippets19.t index 753c552..d3ed46f 100644 --- a/t/snippets19.t +++ b/t/snippets19.t @@ -180,6 +180,8 @@ myfunc ( $a, $b, $c ); # test -sfp push ( @array, $val ); # test -skp and also -sak='push' split( /\|/, $txt ); # test -skp and also -sak='push' my ( $v1, $v2 ) = @_; # test -sak='push' +$c-> #sub set_whitespace_flags must look back past side comment + bind( $o, $n, [ \&$q, \%m ] ); ---------- 'tightness' => <<'----------', @@ -406,6 +408,8 @@ myfunc( $a, $b, $c ); # test -sfp push( @array, $val ); # test -skp and also -sak='push' split( /\|/, $txt ); # test -skp and also -sak='push' my ( $v1, $v2 ) = @_; # test -sak='push' +$c-> #sub set_whitespace_flags must look back past side comment + bind( $o, $n, [ \&$q, \%m ] ); #14........... }, @@ -417,6 +421,8 @@ myfunc ( $a, $b, $c ); # test -sfp push ( @array, $val ); # test -skp and also -sak='push' split ( /\|/, $txt ); # test -skp and also -sak='push' my ( $v1, $v2 ) = @_; # test -sak='push' +$c-> #sub set_whitespace_flags must look back past side comment + bind ( $o, $n, [ \&$q, \%m ] ); #15........... }, @@ -428,6 +434,8 @@ myfunc( $a, $b, $c ); # test -sfp push ( @array, $val ); # test -skp and also -sak='push' split( /\|/, $txt ); # test -skp and also -sak='push' my ( $v1, $v2 ) = @_; # test -sak='push' +$c-> #sub set_whitespace_flags must look back past side comment + bind( $o, $n, [ \&$q, \%m ] ); #16........... },