Amon2-CLI

 view release on metacpan or  search on metacpan

t/04_show_usage.t  view on Meta::CPAN

use strict;
use warnings;
use FindBin;
use File::Spec;
use lib File::Spec->catdir($FindBin::Bin, 'lib');

use Test::More;
use Test::Output;

use Amon2::CLI 'MyApp';

{
    stdout_like {
        MyApp->bootstrap->show_usage(-exitval => 'NOEXIT');
    } qr/print "usage";/, "show usage";
}

done_testing;

__END__

=head1 SYNOPSIS

    print "usage";

=cut



( run in 0.548 second using v1.01-cache-2.11-cpan-437f7b0c052 )