The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
12345678910111213141516 use strict;use warnings;use Test::More;use Test::AnsibleModule;my $t = Test::AnsibleModule->new;$t->run_ok('t/ext/arg_test', bye => 'bye');is_deeply $t->last_response, { changed => 0, msg => 'arg_test', yay => 'yes', hello => 'bye', bye => 'bye' };done_testing;
use
strict;
warnings;
Test::More;
Test::AnsibleModule;
my
$t
= Test::AnsibleModule->new;
->run_ok(
't/ext/arg_test'
,
bye
=>
'bye'
);
is_deeply
->last_response,
{
changed
=> 0,
msg
'arg_test'
yay
'yes'
hello
};
done_testing;