From d15317cc1750b116467fb5178250be27fd752bd0 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 8 Mar 2015 20:57:47 +0200 Subject: [PATCH] Add an indent test example for bug#20026 * test/indent/ruby.rb: Add an example for bug#20026. --- test/ChangeLog | 2 ++ test/indent/ruby.rb | 4 ++++ 2 files changed, 6 insertions(+) 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 -- 2.39.2