# This test does a basic `use` check on all the code.
sub test {
-f and /\.pm$/ or return;
s{^lib[/\\]}{};
s{\.pm$}{};
s{[/\\]}{::}g;
use_ok $_;
}
find {
wanted => \&test,
no_chdir => 1,
}, 'lib';
done_testing;