From: Dave Rolsky Date: Sun, 6 Jun 2010 14:27:26 +0000 (-0500) Subject: Shut up ridiculous warnings from Module::Refresh X-Git-Tag: 1.08~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cf502796150f0e96d4908adc8529489280b041ec;p=gitmo%2FMoose.git Shut up ridiculous warnings from Module::Refresh I only saw these when running tests via make test, not via prove. --- diff --git a/t/060_compat/001_module_refresh_compat.t b/t/060_compat/001_module_refresh_compat.t index 6e88af9..e02a882 100644 --- a/t/060_compat/001_module_refresh_compat.t +++ b/t/060_compat/001_module_refresh_compat.t @@ -81,7 +81,7 @@ ok(!TestBaz->isa('Foo'), '... TestBaz is not a Foo'); } lives_ok { - Module::Refresh->new->refresh_module($test_module_file) + Module::Refresh->new->refresh_module('TestBaz.pm') } '... successfully refreshed ' . $test_module_file; is(TestBaz->meta->name, 'TestBaz', '... initialized the meta correctly');