The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/env perl
use strict;
use warnings FATAL => 'all';
ok my $app = sub { [200, ['Content-Type' => 'text/plain'], ['Hello!']] },
'made a plack compatible application';
is(
exception { $app = Plack::Middleware::Debug::DBIC::QueryLog->wrap($app) },
undef,
'No errors wrapping the application',
);
done_testing();