Permalink
Browse files

Added new test suite to MANIFEST, fixed spelling.

Also added "plan tests" line to the test suite.
  • Loading branch information...
1 parent 281b75b commit 51448ca16b097537f0eac4120f840e7542ec0e66 @rjray committed Jun 16, 2011
Showing with 4 additions and 1 deletion.
  1. +1 −0 MANIFEST
  2. +3 −1 t/51_client_with_host_header.t
View
@@ -65,6 +65,7 @@ t/40_server.t
t/40_server_xmllibxml.t
t/41_server_hang.t
t/50_client.t
+t/51_client_with_host_header.t
t/60_net_server.t
t/70_compression_detect.t
t/90_rt50013_parser_bugs.t
@@ -4,6 +4,8 @@ use warnings;
use HTTP::Request;
use Test::More;
+plan tests => 2;
+
sub clone_with_host_header {
my $req = shift;
my $reqclone = $req->clone;
@@ -21,7 +23,7 @@ subtest "without_host_header" => sub {
ok( $reqclone->header('Host'), 'example.com' );
};
-subtest "with_host_hedar" => sub {
+subtest "with_host_header" => sub {
my $req = HTTP::Request->new( POST => 'http://example.com' );
ok( !$req->header('Host') );
$req->header( 'Host', 'google.com' );

3 comments on commit 51448ca

Contributor

dragon3 replied Jun 17, 2011

sorry for my typo.

Owner

rjray replied Jun 17, 2011

Heh, no worries. I've made worse typos and had to follow them up with embarrassing commits to fix :-).

Contributor

dragon3 replied Jun 19, 2011

Thanks!

Please sign in to comment.