diff options
author | Glenn Morris <rgm@gnu.org> | 2014-05-11 23:59:30 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-05-11 23:59:30 -0700 |
commit | bbbabffe06d4c763534d5be92844c48a3f8746e2 (patch) | |
tree | a6fffb13638948223f3142e5209cbce57282fbbd /test/indent | |
parent | ffd6d9c4d321e93e301f9cafd1fe054389898978 (diff) | |
parent | 96b894717caa773aa6d98ff57385f1c7537e8972 (diff) | |
download | emacs-bbbabffe06d4c763534d5be92844c48a3f8746e2.tar.gz |
Merge from emacs-24; up to 2014-05-12T06:15:47Z!rgm@gnu.org
Diffstat (limited to 'test/indent')
-rwxr-xr-x | test/indent/perl.perl | 11 | ||||
-rw-r--r-- | test/indent/ruby.rb | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl index 0bfcc98356b..34cd4af1125 100755 --- a/test/indent/perl.perl +++ b/test/indent/perl.perl @@ -1,6 +1,17 @@ #!/usr/bin/perl # -*- eval: (bug-reference-mode 1) -*- +use v5.14; + +my $str= <<END; +Hello +END + +my $a = $'; + +my $b=3; + +print $str; if ($c && /====/){xyz;} print "a" . <<EOF . s/he"llo/th'ere/; diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index fb341ee7ba6..7e778798996 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -16,6 +16,9 @@ d = %(hello (nested) world) # Don't propertize percent literals inside strings. "(%s, %s)" % [123, 456] +"abc/#{def}ghi" +"abc\#{def}ghi" + # Or inside comments. x = # "tot %q/to"; = y = 2 / 3 |