aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-07-08 20:38:04 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-07-08 20:38:04 +0000
commit102a0ccaff70bdf4df4f08d2c120901447ec252b (patch)
tree14be2f7b8a3f31d6cac89bafb05832f413b69cf9 /t
parentc28a79010c94c3b9e963a96983f7458ef78838e1 (diff)
downloadreaction-102a0ccaff70bdf4df4f08d2c120901447ec252b.tar.gz
reaction-102a0ccaff70bdf4df4f08d2c120901447ec252b.zip
saner load_all test
Diffstat (limited to 't')
-rw-r--r--t/04load_all.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/04load_all.t b/t/04load_all.t
index a7923fc..54c1bb0 100644
--- a/t/04load_all.t
+++ b/t/04load_all.t
@@ -10,6 +10,7 @@ my $finder = Module::Pluggable::Object->new(
search_path => [ 'Reaction' ],
);
-foreach my $class (sort $finder->plugins) {
+foreach my $class (grep !/\.ToDo/,
+ sort do { local @INC = ('lib'); $finder->plugins }) {
Test::More::use_ok($class);
}