Add an indent test example for bug#20026
* test/indent/ruby.rb: Add an example for bug#20026.
This commit is contained in:
parent
dad0fc589c
commit
d15317cc17
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue