Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

#!perl
use strict;
use Test::More tests => 5;
use FindBin;
use lib "$FindBin::Bin/lib";
use_ok('Catalyst::Test', 'TestApp');
my $response = request('/test?view=Pkgconfig');
ok($response->is_success, 'request ok');
is($response->content, TestApp->config->{default_message}, 'message ok');
$response = request('/test?view=Pkgconfig&message=<<foo>>');
ok($response->is_success, 'request with message ok');
is($response->content, '<<foo>>', 'message ok');