X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=t%2Fload_plugins.t;h=a2c0e0eda1e826c1d71303640cb78f82a2b999d0;hp=e7d165596791911b7bbe5488e1ae8a664b3aa801;hb=HEAD;hpb=ee9bf440a6a56c1681d22d0d27f9b357fa6c54be diff --git a/t/load_plugins.t b/t/load_plugins.t old mode 100755 new mode 100644 index e7d1655..a2c0e0e --- a/t/load_plugins.t +++ b/t/load_plugins.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.88; use if $ENV{AUTHOR_TESTING}, 'Test::Warnings'; use_ok('Devel::REPL'); @@ -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 $@; } }