Prechádzať zdrojové kódy

Fix #325: fix unescaped left brace in regex warnings in testsuite

George S. Baugh 8 rokov pred
rodič
commit
f9f6d9469e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      t/04-commands-implemented.t

+ 1 - 1
t/04-commands-implemented.t

@@ -20,7 +20,7 @@ for my $command (keys %{$comm}) {
     open(my $fh, '<', $file) or die "Couldn't open file $file";
     for (<$fh>) {
       if (/'?command'?\s*=>\s*'$command'/
-       or /{'?commands'?}->{'?$command'?}/) {
+       or /{'?commands'?}->\{'?$command'?}/) {
         pass("find $command");
         $found_command = 1;
       }