Skip to content

Commit

Permalink
fixed HTTP protocol version typo in t/01-basic.t
Browse files Browse the repository at this point in the history
  • Loading branch information
creaktive committed Feb 1, 2013
1 parent 8d290a2 commit 132ba40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.pod
Expand Up @@ -8,7 +8,7 @@ Test::HTTP::AnyEvent::Server - the async counterpart to Test::HTTP::Server

=head1 VERSION

version 0.006
version 0.007

=head1 SYNOPSIS

Expand Down
2 changes: 1 addition & 1 deletion t/01-basic.t
Expand Up @@ -18,7 +18,7 @@ $cv->begin;
http_request GET => $server->uri . q(echo/head), sub {
my ($body, $hdr) = @_;

like($body, qr{^GET\s+/echo/head\s+HTTP/1\.[12]\b}isx, q(echo/head));
like($body, qr{^GET\s+/echo/head\s+HTTP/1\.[01]\b}isx, q(echo/head));
ok($hdr->{q(content-type)} eq q(text/plain), q(Content-Type));
ok($hdr->{connection} eq q(close), q(Connection));
like($hdr->{server}, qr{^Test::HTTP::AnyEvent::Server/}x, q(User-Agent));
Expand Down

0 comments on commit 132ba40

Please sign in to comment.