File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,10 @@ like($@, qr/^Illegal field name '' at \Q$file\E line $line/);
304304
305305# ---- old tests below -----
306306
307- $h = new HTTP::Headers
307+ $h = HTTP::Headers-> new(
308308 mime_version => " 1.0" ,
309- content_type => " text/html" ;
309+ content_type => " text/html"
310+ );
310311$h -> header(URI => " http://www.oslonett.no/" );
311312
312313is($h -> header(" MIME-Version" ), " 1.0" );
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ my $time = time;
1616my $req = HTTP::Request-> new(GET => ' http://www.sn.no' );
1717$req -> date($time - 30);
1818
19- my $r = new HTTP::Response 200, " OK" ;
19+ my $r = HTTP::Response-> new( 200, " OK" ) ;
2020$r -> client_date($time - 20);
2121$r -> date($time - 25);
2222$r -> last_modified($time - 5000000);
You can’t perform that action at this time.
0 commit comments