print the error when loading failed unexpectedly
Karen Etheridge [Tue, 24 Sep 2013 04:22:16 +0000 (21:22 -0700)]
t/load_plugins.t

index e7d1655..40b11c7 100755 (executable)
@@ -59,7 +59,8 @@ sub test_load_plugin {
         eval "use Devel::REPL::Plugin::$plugin_name; 1"
             or skip "could not eval plugin $plugin_name", 1;
 
-        ok(eval { $repl->load_plugin($plugin_name); 1 }, $test_name);
+        ok(eval { $repl->load_plugin($plugin_name); 1 }, $test_name)
+            or diag $@;
     }
 }