diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/indent/perl.perl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl index ea487543219..f86a09b2733 100755 --- a/test/indent/perl.perl +++ b/test/indent/perl.perl | |||
| @@ -59,3 +59,11 @@ print "hello" for /./; | |||
| 59 | 59 | ||
| 60 | $fileType_filesButNot # bug#12373? | 60 | $fileType_filesButNot # bug#12373? |
| 61 | = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} ); | 61 | = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} ); |
| 62 | |||
| 63 | # There can be a comment between an if/when/while and a /<re>/ matcher! | ||
| 64 | return 'W' if #/^Not Available on Mobile/m; #W=Web only | ||
| 65 | /This video is not available on mobile devices./m; #bug#20800 | ||
| 66 | |||
| 67 | # A "y|abc|def|" shouldn't interfere when inside a string! | ||
| 68 | $toto = " x \" string\""; | ||
| 69 | $toto = " y \" string\""; # This is not the `y' operator! | ||