work with MooseX::Getopt 0.48 by using the new public method for printing usage
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_help.t
index 0287990..00d24da 100644 (file)
@@ -12,10 +12,9 @@ use lib "$Bin/../lib";
     use Moose;
     with 'Catalyst::ScriptRole';
     our $help;
-    sub _getopt_full_usage { $help++ }
+    sub print_usage_text { $help++ }
 }
 
-test('-h');
 test('--help');
 test('-?');