From: Karen Etheridge Date: Tue, 24 Sep 2013 04:22:16 +0000 (-0700) Subject: print the error when loading failed unexpectedly X-Git-Tag: v1.003024~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8448bc60583ab1325469f687f3191442671c3244;p=p5sagit%2FDevel-REPL.git print the error when loading failed unexpectedly --- diff --git a/t/load_plugins.t b/t/load_plugins.t index e7d1655..40b11c7 100755 --- a/t/load_plugins.t +++ b/t/load_plugins.t @@ -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 $@; } }