projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verwaltung von Pflichtenheftstatus
[kivitendo-erp.git]
/
t
/
002goodperl.t
diff --git
a/t/002goodperl.t
b/t/002goodperl.t
index
75a378c
..
d80d9ee
100644
(file)
--- a/
t/002goodperl.t
+++ b/
t/002goodperl.t
@@
-82,6
+82,8
@@
foreach my $file (@testitems) {
}
foreach my $file (@testitems) {
}
foreach my $file (@testitems) {
+ local $TODO;
+ $TODO = 'schema updates are not required to be strict now' if $file =~ m{^sql/Pg-upgrade2};
my $found_use_strict = 0;
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
my $found_use_strict = 0;
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
@@
-119,7
+121,8
@@
foreach my $file (@testitems) {
next;
}
while (my $file_line = <FILE>) {
next;
}
while (my $file_line = <FILE>) {
- if ($file_line =~ m/(<\/?$tags>)/) {
+ last if $file_line =~ /^__END__/;
+ if ($file_line =~ m/(<\/?$tags>)/o) {
$found_html_count++;
$found_html .= $1;
}
$found_html_count++;
$found_html .= $1;
}
@@
-128,7
+131,7
@@
foreach my $file (@testitems) {
if (!$found_html_count) {
ok(1,"$file does not contain HTML");
} elsif ($found_html_count < 50) {
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 {
ok(0,"$file contains at least $found_html_count html tags.");
}
} else {