From 2a165a5e173db70c9a4af58d920ce9d23e07f513 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 12 Jan 2011 21:43:14 -0600 Subject: stop using plackup, because some testers can't see binaries --- t/02-inputs.t | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 't/02-inputs.t') diff --git a/t/02-inputs.t b/t/02-inputs.t index 094aec6..5f9b56a 100644 --- a/t/02-inputs.t +++ b/t/02-inputs.t @@ -7,8 +7,7 @@ use Plack::Client::Test; use HTTP::Message::PSGI; -my $app = <<'APP'; -sub { +my $app = sub { my $env = shift; return [ 200, @@ -30,8 +29,7 @@ sub { }, ] ]; -} -APP +}; test_tcp_plackup( $app, @@ -44,7 +42,7 @@ test_tcp_plackup( { my $apps = { - foo => eval $app, + foo => $app, }; my $base_uri = 'psgi-local://foo'; -- cgit v1.2.3-54-g00ecf