]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - t/20-each.t
@ wasn't such a good idea for the escape character. Let's use % instead
[perl/modules/rgit.git] / t / 20-each.t
index a5d47c2afc0e0097aa3b2e61bd85a286dfd3731a..5c337e7e8637244a4df177da9b9b039d04caf8c0 100644 (file)
@@ -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");