| Server IP : 164.138.27.172 / Your IP : 216.73.216.143 Web Server : nginx/1.27.4 System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-adm ( 1001) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/jonasn/.cpan/build/CPAN-2.34-1/t/ |
Upload File : |
use Test::More tests => 4;
BEGIN { *CORE::GLOBAL::exit = sub { 23 } };
BEGIN {
local $^W = 0;
our $class = 'App::Cpan';
our $method = '_process_options';
use_ok( $class );
can_ok( $class, $method );
require "./t/97-lib_cpan1/CPAN.pm";
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Test with no options
{
local @ARGV = ();
is( $class->$method(), 23, "No arguments calls shell branch" );
pass( "Got past the exit" );
}