Skip to content

Commit

Permalink
Add two new test cases that should match
Browse files Browse the repository at this point in the history
One of them, /foo/, fails right now, due to the fix for jonswar#8.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information
melo committed Jan 7, 2013
1 parent 5407d04 commit 09e9980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Mason/t/ResolveURI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ sub test_resolve : Tests {
@interp_params = ( dhandler_names => ['dhandler'], index_names => ['index'] );
$try->( '/foo/', [ '/foo/dhandler', '/foo/index' ], '/foo/dhandler', '/' );
$try->( '/foo/', [ '/foo/dhandler', '/foo/index=1' ], '/foo/index', '/' );
$try->( '/foo', [ '/foo/index' ], '/foo/index', '' );
$try->( '/foo/', [ '/foo/index' ], '/foo/index', '' );
}

sub test_decline : Tests {
Expand Down

0 comments on commit 09e9980

Please sign in to comment.