Commit 93ec6654 authored by zach%zachlipton.com's avatar zach%zachlipton.com

add tests for use strict;

parent 6df1f2a6
......@@ -35,7 +35,7 @@
#Bugzilla Test 2#
####GoodPerl#####
BEGIN { use Test::More tests => 51; }
BEGIN { use Test::More tests => 102; }
BEGIN { use lib 't/'; }
BEGIN { use Support::Files; }
......@@ -57,6 +57,11 @@ foreach $file (@testitems) {
next;
}
}
if ($filecontent !~ /use strict;/) {
ok(0,"$file DOES NOT use strict");
} else {
ok(1,"$files uses strict");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment