From: Dmitry Gutov Date: Sun, 8 Mar 2015 18:57:47 +0000 (+0200) Subject: Add an indent test example for bug#20026 X-Git-Tag: emacs-25.0.90~2564^2~199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d15317cc1750b116467fb5178250be27fd752bd0;p=emacs.git Add an indent test example for bug#20026 * test/indent/ruby.rb: Add an example for bug#20026. --- diff --git a/test/ChangeLog b/test/ChangeLog index 92ce4b62a0b..301cc4046e5 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,7 @@ 2015-03-08 Dmitry Gutov + * indent/ruby.rb: Add an example for bug#20026. + * indent/js.js: Set `js-indent-level' to 2. Fix indentation in an example. diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 82cc63f9168..dec6de98605 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -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