X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/f6e8c87bc23cb8b31a554ce89af51d2c3b0a5efd..23f857a6f05af4d741625bfc4c93e8a490401b1f:/t/002goodperl.t diff --git a/t/002goodperl.t b/t/002goodperl.t index 75a378c1e..28b69a4c5 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -119,7 +119,8 @@ foreach my $file (@testitems) { next; } while (my $file_line = ) { - if ($file_line =~ m/(<\/?$tags>)/) { + last if $file_line =~ /^__END__/; + if ($file_line =~ m/(<\/?$tags>)/o) { $found_html_count++; $found_html .= $1; } @@ -128,7 +129,7 @@ foreach my $file (@testitems) { if (!$found_html_count) { ok(1,"$file does not contain HTML"); } elsif ($found_html_count < 50) { - TODO: { local $TODO = q(Even slow amounts should go away....); + TODO: { local $TODO = q(Even little amounts of HTML should go away....); ok(0,"$file contains at least $found_html_count html tags."); } } else {