Browse files

test requires CGI.pm 3.60

  • Loading branch information...
1 parent 613a319 commit 7e6f787db7bbf00772b0265fd0096a5f8c0d9366 Ryo Anazawa committed Oct 4, 2012
Showing with 5 additions and 4 deletions.
  1. +2 −1 Makefile.PL
  2. +1 −1 lib/CGI/Header.pm
  3. +1 −1 t/11_basic.t
  4. +1 −1 t/30_as_string.t
View
3 Makefile.PL
@@ -16,8 +16,9 @@ test_requires 'Test::More' => '0.98';
test_requires 'Test::Pod' => '1.45';
test_requires 'Test::Warn' => '0.24';
test_requires 'Test::MockTime';
-test_requires 'CGI' => '3.49';
+test_requires 'CGI' => '3.60';
test_requires 'CGI::Cookie';
+test_requires 'HTTP::Date';
tests 't/*.t xt/*.t';
View
2 lib/CGI/Header.pm
@@ -408,7 +408,7 @@ __END__
=head1 NAME
-CGI::Header - Adapter for CGI::header()
+CGI::Header - Adapter for CGI::header() function
=head1 SYNOPSIS
View
2 t/11_basic.t
@@ -3,7 +3,7 @@ use warnings;
use CGI::Header;
use CGI::Cookie;
use CGI::Util 'expires';
-use Test::More tests => 19;
+use Test::More tests => 17;
use Test::Warn;
use Test::Exception;
View
2 t/30_as_string.t
@@ -35,7 +35,7 @@ my $cookie2 = CGI::Cookie->new(
-type => 'text/plain',
);
- $header->set( Ingredients => join "$CRLF ", qw(ham eggs bacon) );
+ $header->set( Ingredients => join "$CRLF ", qw/ham eggs bacon/ );
my $got = $header->as_string( $CRLF ) . $CRLF;
my $expected = CGI->new->header( $header->header );

0 comments on commit 7e6f787

Please sign in to comment.