projects
/
p5sagit/strictures.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
12b8f19
)
move subtests into their own directory, so prove -lr t still works
Karen Etheridge [Thu, 12 Jul 2012 23:23:56 +0000 (16:23 -0700)]
t/smells-of-vcs/t/one.faket
[moved from
t/smells-of-vcs/t/one.t
with 100% similarity]
patch
|
blob
|
blame
|
history
t/strictures.t
patch
|
blob
|
blame
|
history
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
(file)
--- 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");
}