Permalink
Browse files

remove auto.t since it's well tested in Plack::Test

  • Loading branch information...
1 parent fbc6d91 commit 867568235efc6426223377d4ceaedbb7cf7aea59 @miyagawa miyagawa committed Oct 10, 2009
Showing with 1 addition and 22 deletions.
  1. +1 −1 README
  2. +0 −21 t/Plack-Server/auto.t
View
2 README
@@ -47,7 +47,7 @@ MODULES AND UTILITIES
clean API, and compatibility with Plack::Builder DSL.
Plack::Builder
- Plack::Builder gives you a DSL that you can enable Middleware in ".psgi"
+ Plack::Builder gives you a DSL that you can add "Middleware", in ".psgi"
files to wrap existent PSGI applications.
Plack::Request, Plack::Response
View
@@ -1,21 +0,0 @@
-use strict;
-use Test::More;
-use Plack::Loader;
-
-$ENV{PLACK_SERVER} = "CGI";
-
-use HTTP::Request::AsCGI;
-use HTTP::Request::Common;
-
-my $app = sub {
- my $env = shift;
- return [ 200, [ 'Content-Type' => 'text/plain' ], [ "Hello" ] ];
-};
-
-{
- my $c = HTTP::Request::AsCGI->new(GET "http://localhost/")->setup;
- Plack::Loader->auto->run($app);
- like $c->response->content, qr/Hello/;
-}
-
-done_testing;

0 comments on commit 8675682

Please sign in to comment.