Shut up ridiculous warnings from Module::Refresh
[gitmo/Moose.git] / t / 060_compat / 001_module_refresh_compat.t
index 6e88af9..e02a882 100644 (file)
@@ -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');