]> code.delx.au - gnu-emacs/commitdiff
Add an indent test example for bug#20026
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Mar 2015 18:57:47 +0000 (20:57 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Mar 2015 18:57:47 +0000 (20:57 +0200)
* test/indent/ruby.rb: Add an example for bug#20026.

test/ChangeLog
test/indent/ruby.rb

index 92ce4b62a0b1a09d658442bf1810add89cccc262..301cc4046e5e97e79035d242dbb406d8e9a44903 100644 (file)
@@ -1,5 +1,7 @@
 2015-03-08  Dmitry Gutov  <dgutov@yandex.ru>
 
+       * indent/ruby.rb: Add an example for bug#20026.
+
        * indent/js.js: Set `js-indent-level' to 2. Fix indentation in an
        example.
 
index 82cc63f916839a82f3a91f57100f0177b94f3f82..dec6de98605044ac4926220656d2d17673d72f06 100644 (file)
@@ -40,6 +40,10 @@ x = toto / foo if /do bar/ =~ "dobar"
 
 /foo/xi != %r{bar}mo.tee
 
+foo { /"tee/
+  bar { |qux| /'fee"/ }         # bug#20026
+}
+
 bar(class: XXX) do              # ruby-indent-keyword-label
   foo
 end