update .gitignore with standard entries
[p5sagit/strictures.git] / t / strictures.t
index eb110cf..98919ee 100644 (file)
@@ -46,7 +46,8 @@ SKIP: {
     };
   sub Foo::new { 1 }
   chdir("t/smells-of-vcs");
-  foreach my $file (qw(lib/one.pm t/one.t)) {
+  local $strictures::Smells_Like_VCS = 1;
+  foreach my $file (qw(lib/one.pm t/one.faket)) {
     ok(!eval { require $file; 1 }, "Failed to load ${file}");
     like($@, qr{Indirect call of method}, "Failed due to indirect.pm, ok");
   }