Changeset 25460
- Timestamp:
- 11/30/08 22:46:51 (4 years ago)
- Location:
- lang/perl/HTTP-Router/trunk/t
- Files:
-
- 1 added
- 1 modified
-
01_match.t (modified) (2 diffs)
-
Router.pm (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Router/trunk/t/01_match.t
r25447 r25460 1 use Test::Base; 2 use HTTP::Router; 1 use t::Router; 3 2 4 3 plan tests => 1 * blocks; 5 4 6 my $routes = eval { require 't/routes.pl' }; 7 my $router = HTTP::Router->new; 8 $router->connect(@$_) for @$routes; 5 my $router = build_router(); 9 6 10 7 filters { … … 15 12 run { 16 13 my $block = shift; 17 18 14 my $match = $router->match($block->path, $block->conditions); 19 15 is_deeply $match, $block->expected;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)