Mojolicious-Command-static
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
use Mojo::Base -strict;
use Test::Mojo;
use Test::More;
ok eval "require Mojolicious::Command::static; 1", "load Mojolicious::Command::static";
# Make sure @ARGV is not changed
{
local $ENV{MOJO_MODE};
local @ARGV = qw(-m production -x whatever);
require Mojolicious::Commands;
}
my $t = Test::Mojo->new;
my $commands = Mojolicious::Commands->new;
{
local $ENV{MOJO_APP_LOADER} = 1;
is ref Mojolicious::Commands->start_app('Mojo::HelloWorld' => 'static'), 'Mojo::HelloWorld', 'right reference';
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.097 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )