X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F011_process_argv.t;h=4fb220fd69c00a0ee10b809e706c5a997851dc7e;hp=aa1e7e157a9e2a616ca2e9ac13f591afd79fb2ee;hb=3915c9fcd71bf4857baf6c214a42363969b37937;hpb=ba2137c64703fef6794a46919394f9b768f77f9b diff --git a/t/011_process_argv.t b/t/011_process_argv.t index aa1e7e1..4fb220f 100644 --- a/t/011_process_argv.t +++ b/t/011_process_argv.t @@ -3,7 +3,6 @@ use warnings; use Test::More tests => 7; use Test::Fatal 0.003; -use Test::Requires 'Test::Deep'; use Test::NoWarnings 1.04 ':early'; { @@ -37,17 +36,17 @@ is( ); isa_ok($pa, 'MooseX::Getopt::ProcessedArgv'); -cmp_deeply($pa->argv_copy, [ +is_deeply($pa->argv_copy, [ '--bar', '10', 'file.dat' ], 'argv_copy'); -cmp_deeply($pa->cli_params, { +is_deeply($pa->cli_params, { 'bar' => 10 }, 'cli_params'); -cmp_deeply($pa->constructor_params, { +is_deeply($pa->constructor_params, { 'baz' => 100 }, 'constructor_params'); -cmp_deeply($pa->extra_argv, [ +is_deeply($pa->extra_argv, [ 'file.dat' ], 'extra_argv');