loading test
Matt S Trout [Mon, 14 Nov 2011 17:44:30 +0000 (17:44 +0000)]
t/00load_all.t [new file with mode: 0644]

diff --git a/t/00load_all.t b/t/00load_all.t
new file mode 100644 (file)
index 0000000..79d8cdd
--- /dev/null
@@ -0,0 +1,9 @@
+use strictures 1;
+use Test::More qw(no_plan);
+use IO::All;
+
+foreach my $file (io('lib')->all_files(0)) {
+  (my $name = $file->name) =~ s/^lib\///;
+  ok(eval { require $name; 1 }, "${file} loaded ok");
+  warn $@ if $@;
+}