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=891a72c76e0da72eede1bde26d273fdc2fb90411;hb=HEAD;hpb=59500b7eafe06b09cccd3b4d4b80b0728698d034 diff --git a/t/load_plugins.t b/t/load_plugins.t old mode 100755 new mode 100644 index 891a72c..a2c0e0e --- a/t/load_plugins.t +++ b/t/load_plugins.t @@ -2,8 +2,8 @@ use strict; use warnings; -use Test::More; -use Test::Warnings; +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 $@; } }