X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=blobdiff_plain;f=t%2F20-deparse.t;h=d6bd5431c809ab94f911f96463f8058cc66eab44;hp=fd112e0fb12c8e8aa1b27968848b74ca7ae79823;hb=7c69490596e221b9d4be4d94de939429258ff7b3;hpb=3f3d56e5fb9a55ee113ccf2bc03f3a453f80baa0 diff --git a/t/20-deparse.t b/t/20-deparse.t index fd112e0..d6bd543 100644 --- a/t/20-deparse.t +++ b/t/20-deparse.t @@ -23,8 +23,8 @@ use_ok( 'URI::Template' ); my $template = URI::Template->new( 'http://ex.com/{x}' ); isa_ok( $template, 'URI::Template' ); my %input = ( x => 'y' ); - my $uri = $template->process( x => 'y' ); + my $uri = $template->process( x => 'y' ); is( $uri, 'http://ex.com/y' ); - my %result = $template->deparse( $uri ); + my %result = $template->deparse( $uri ); is_deeply( \%result, \%input, 'process => deparse' ); }