Skip to content

Commit

Permalink
update plan for test t/03_route_handler/01_params.t and fix a test ex…
Browse files Browse the repository at this point in the history
…pectation
  • Loading branch information
Alexis Sukrieh committed Jan 18, 2011
1 parent f8026ad commit d69699b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/03_route_handler/01_params.t
@@ -1,7 +1,7 @@
use strict;
use warnings;

use Test::More tests => 17, import => ['!pass'];
use Test::More tests => 28, import => ['!pass'];
use Dancer::Test;

use Dancer ':syntax';
Expand All @@ -24,7 +24,7 @@ my @tests = (
{method => 'GET', path => '/hello/joe/bar', expected => 'joe' },
{method => 'POST', path => '/new/wine', expected => 'wine' },

{ method => 'GET', path => '/opt/', expected => undef},
{ method => 'GET', path => '/opt/', expected => ''},
{ method => 'GET', path => '/opt/placeholder', expected => 'placeholder'},
{ method => 'GET', path => '/opt/alexis/sukrieh', expected => "alexis sukrieh"},
);
Expand Down

0 comments on commit d69699b

Please sign in to comment.