Add an indent test example for bug#20026

* test/indent/ruby.rb: Add an example for bug#20026.
This commit is contained in:
Dmitry Gutov 2015-03-08 20:57:47 +02:00
parent dad0fc589c
commit d15317cc17
2 changed files with 6 additions and 0 deletions

View 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.

View file

@ -40,6 +40,10 @@ def foo
/foo/xi != %r{bar}mo.tee
foo { /"tee/
bar { |qux| /'fee"/ } # bug#20026
}
bar(class: XXX) do # ruby-indent-keyword-label
foo
end