Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

package Poet::t::App;
$Poet::t::App::VERSION = '0.16';
use Test::Class::Most parent => 'Poet::Test::Class';
sub test_app_name_to_dir : Tests {
my $try = sub {
return Poet::App::Command::new->app_name_to_dir( $_[0] );
};
is( $try->("FooBar"), "foo_bar" );
is( $try->("HM"), "hm" );
is( $try->("foo_bar"), "foo_bar" );
}
1;