work with MooseX::Getopt 0.48 by using the new public method for printing usage
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_create.t
index db2e5af..d492fd9 100644 (file)
@@ -12,13 +12,13 @@ use lib "$Bin/../lib";
     use Moose;
     extends 'Catalyst::Script::Create';
     our $help;
-    sub _exit_with_usage { $help++ }
+    sub print_usage_text { $help++ }
 }
 
 {
     package TestHelperClass;
     use Moose;
-    
+
     has 'newfiles' => ( is => 'ro', init_arg => '.newfiles' );
     has 'mech' => ( is => 'ro' );
     our @ARGS;