diff --git a/t/test.pl b/t/test.pl index 7cfc673e..7d3e9206 100755 --- a/t/test.pl +++ b/t/test.pl @@ -138,7 +138,7 @@ sub test_page_negative { sub xpath_do { my ($check, $message, $page, @tests) = @_; - $page =~ s/^.*?//s; # strip headers + $page =~ s/^.*?(new(); my $doc;