X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/06eb04eba210c301b5a6655d70a7eeac44b9ffbd..e9325e12309437f4a67a523f8f84459c60a46ae6:/t/002goodperl.t?ds=inline diff --git a/t/002goodperl.t b/t/002goodperl.t index d70ad89fc..cc3971372 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -70,7 +70,10 @@ foreach my $file (@testitems) { if ($file_line1 =~ m#\s-$flags#) { ok(1,"$file uses standard perl location and -$flags"); } else { + TODO: { + local $TODO = q(warning isn't supported globally); ok(0,"$file is MISSING -$flags --WARNING"); + } } } else { ok(0,"$file uses non-standard perl location"); @@ -78,8 +81,6 @@ foreach my $file (@testitems) { } } -TODO: { -local $TODO = 'strict is not implemented thoroughly yet'; foreach my $file (@testitems) { my $found_use_strict = 0; $file =~ s/\s.*$//; # nuke everything after the first space (#comment) @@ -101,6 +102,5 @@ foreach my $file (@testitems) { ok(0,"$file DOES NOT use strict --WARNING"); } } -} exit 0;