emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d15317c 2/2: Add an indent test example for bug#200


From: Dmitry Gutov
Subject: [Emacs-diffs] master d15317c 2/2: Add an indent test example for bug#20026
Date: Sun, 08 Mar 2015 18:58:51 +0000

branch: master
commit d15317cc1750b116467fb5178250be27fd752bd0
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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(+), 0 deletions(-)

diff --git a/test/ChangeLog b/test/ChangeLog
index 92ce4b6..301cc40 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,7 @@
 2015-03-08  Dmitry Gutov  <address@hidden>
 
+       * 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 82cc63f..dec6de9 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]