- Timestamp:
- 08/11/08 13:17:29 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/trunk/t/010_core/request_processor-make_context.t
r17368 r17372 12 12 use strict; 13 13 use warnings; 14 use Test::More tests => 4;14 use Test::More tests => 5; 15 15 16 16 use HTTP::Engine::Context; … … 35 35 }; 36 36 37 38 37 do { 39 38 my $c = $rp->make_context( … … 45 44 }; 46 45 47 46 do { 47 no strict 'refs'; 48 no warnings 'redefine'; 49 local *HTTP::Engine::Request::new = sub {}; 50 local *HTTP::Engine::Response::new = sub {}; 51 local $@; 52 eval { $rp->make_context }; 53 like $@, qr/Validation failed/; 54 };
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)