From: Karen Etheridge Date: Thu, 12 Jul 2012 23:23:56 +0000 (-0700) Subject: move subtests into their own directory, so prove -lr t still works X-Git-Tag: v1.004001~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e622821ff66926ea7e01e1837cad0eca8de60a15;p=p5sagit%2Fstrictures.git move subtests into their own directory, so prove -lr t still works --- diff --git a/t/smells-of-vcs/t/one.t b/t/smells-of-vcs/t/one.faket similarity index 100% rename from t/smells-of-vcs/t/one.t rename to t/smells-of-vcs/t/one.faket diff --git a/t/strictures.t b/t/strictures.t index aecf332..98919ee 100644 --- a/t/strictures.t +++ b/t/strictures.t @@ -47,7 +47,7 @@ SKIP: { sub Foo::new { 1 } chdir("t/smells-of-vcs"); local $strictures::Smells_Like_VCS = 1; - foreach my $file (qw(lib/one.pm t/one.t)) { + 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"); }