X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=blobdiff_plain;f=t%2F11-ordered.t;h=c96a184c336e8f01e3e951025d81ac2b2df05289;hp=a16081889ea2cc1ec9f16626c487893641b89427;hb=83c3737484d89a57cfd230d6a4039a269e212035;hpb=0bf9e38bd59ec2d30d98cdd5b1ff6659bc776761 diff --git a/t/11-ordered.t b/t/11-ordered.t index a160818..c96a184 100644 --- a/t/11-ordered.t +++ b/t/11-ordered.t @@ -9,7 +9,11 @@ use_ok( 'URI::Template' ); my $text = 'http://foo.com/{arg2}/{arg1}'; my $template = URI::Template->new( $text ); isa_ok( $template, 'URI::Template' ); - is_deeply( [ $template->all_variables ], [ qw( arg2 arg1 ) ], 'all_variables()' ); + is_deeply( + [ $template->all_variables ], + [ qw( arg2 arg1 ) ], + 'all_variables()' + ); { my $result = $template->process( [ qw( x y ) ] ); @@ -31,7 +35,7 @@ use_ok( 'URI::Template' ); # test with no values { - my $result = $template->process_to_string( [ ] ); + my $result = $template->process_to_string( [] ); is( $result, 'http://foo.com//', 'process w/ no values' ); } }