From: Sven Schöling Date: Thu, 10 Dec 2009 16:04:17 +0000 (+0100) Subject: TODOs etwas feiner granuliert. X-Git-Tag: release-2.6.1beta1~72^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f6e8c87bc23cb8b31a554ce89af51d2c3b0a5efd;p=kivitendo-erp.git TODOs etwas feiner granuliert. --- diff --git a/t/002goodperl.t b/t/002goodperl.t index f081ac719..75a378c1e 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -127,10 +127,12 @@ foreach my $file (@testitems) { close (FILE); if (!$found_html_count) { ok(1,"$file does not contain HTML"); - } else { - TODO: { local $TODO = q(Templating is not final.); + } elsif ($found_html_count < 50) { + TODO: { local $TODO = q(Even slow amounts 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."); } } diff --git a/t/005no_tabs.t b/t/005no_tabs.t index 75f532956..d89ee0042 100644 --- a/t/005no_tabs.t +++ b/t/005no_tabs.t @@ -47,7 +47,9 @@ foreach my $file (@testitems) { if (grep /\t/, ) { ok(0, "$file contains tabs --WARNING"); } else { + TODO: { local $TODO = q(Tabfreeness is not enforced at the moment.); ok(1, "$file has no tabs"); + } } close (FILE); }