summaryrefslogtreecommitdiffstats
path: root/t/03-delayed-response.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-01-12 21:43:14 -0600
committerJesse Luehrs <doy@tozt.net>2011-01-12 21:43:14 -0600
commit2a165a5e173db70c9a4af58d920ce9d23e07f513 (patch)
tree6095b1a4cedd4f96566edf196f20e042556b55a7 /t/03-delayed-response.t
parent9970a68dbb108d36b16595d26b827a7d63223155 (diff)
downloadplack-client-2a165a5e173db70c9a4af58d920ce9d23e07f513.tar.gz
plack-client-2a165a5e173db70c9a4af58d920ce9d23e07f513.zip
stop using plackup, because some testers can't see binaries
Diffstat (limited to 't/03-delayed-response.t')
-rw-r--r--t/03-delayed-response.t8
1 files changed, 3 insertions, 5 deletions
diff --git a/t/03-delayed-response.t b/t/03-delayed-response.t
index d86116d..a034f4a 100644
--- a/t/03-delayed-response.t
+++ b/t/03-delayed-response.t
@@ -7,8 +7,7 @@ use Plack::Client::Test;
use HTTP::Message::PSGI;
-my $app = <<'APP';
-sub {
+my $app = sub {
my $env = shift;
return sub {
my $cb = shift;
@@ -33,8 +32,7 @@ sub {
]
])
};
-}
-APP
+};
test_tcp_plackup(
$app,
@@ -47,7 +45,7 @@ test_tcp_plackup(
{
my $apps = {
- foo => eval $app,
+ foo => $app,
};
my $base_uri = 'psgi-local://foo';