X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=t%2F20-each.t;h=9332cb9cd79635b869f00e9a730c58dacb0641c0;hb=cbafb1b35c3e76d6a7cf1628c83f08e64d3f3c5c;hp=23692aa1d67c0cf84214fdaccfa558509765c686;hpb=9fa7664e0c86c59b5f9a2a03fa499c875722eaf0;p=perl%2Fmodules%2Frgit.git diff --git a/t/20-each.t b/t/20-each.t index 23692aa..9332cb9 100644 --- a/t/20-each.t +++ b/t/20-each.t @@ -89,7 +89,7 @@ is(grep({ ref eq 'ARRAY' } @expected), 3, 'all of them are array references'); @$_, map({ catdir($tmpdir, $_) } @{$_}[1 .. 3]), $tmpdir, - '^n', '^x' + '@n', '@x' ], @expected; sub try { @@ -99,7 +99,7 @@ sub try { git => abs_path('t/bin/git'), root => $tmpdir, cmd => $cmd, - args => [ abs_path($filename), $cmd, qw/^n ^g ^w ^b ^G ^W ^B ^R ^^n ^x/ ], + args => [ abs_path($filename), $cmd, qw/@n @g @w @b @G @W @B @R @@n @x/ ], policy => $policy, ); isnt($ar, undef, "each $cmd has a defined object");