Debian Codegraph @

xt/010_live/00_hello.t

raw symbols SCIP
1 use strict;
2 use warnings;
3 use Test::More;
4 use lib 't/lib/';
5 use t::Internal;
6
7 my $client = t::Internal->new(path => 't/fcgi/hello.fcgi');
8 my ( $stdout, $stderr ) = $client->request(
9 +{
10 REQUEST_METHOD => 'GET',
11 QUERY_STRING => 'foo=bar',
12 },
13 ''
14 );
15 is $stdout, "Content−type: text/html\r\n\r\nhello\nfoo=bar";
16 is $stderr, "hello, stderr\n";
17
18 done_testing;