mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
* test/indent/ruby.rb: Move two examples to "working" section, add one
more.
This commit is contained in:
parent
7790a27058
commit
a6462ef558
@ -1,3 +1,8 @@
|
||||
2013-10-22 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* indent/ruby.rb: Move two examples to "working" section, add one
|
||||
more.
|
||||
|
||||
2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* indent/ruby.rb: New examples for indentation of blocks. Example
|
||||
|
@ -193,6 +193,16 @@ def foo
|
||||
.qux
|
||||
.bar
|
||||
|
||||
foo do
|
||||
bar
|
||||
.tee
|
||||
end
|
||||
|
||||
def bar
|
||||
foo
|
||||
.baz
|
||||
end
|
||||
|
||||
# Examples below still fail with `ruby-use-smie' on:
|
||||
|
||||
foo = [1, 2, 3].map do |i|
|
||||
@ -211,12 +221,6 @@ def foo
|
||||
method (a + b),
|
||||
c
|
||||
|
||||
foo do
|
||||
bar.foo do # "." is parent to "do"; it shouldn't be.
|
||||
bar
|
||||
.tee
|
||||
end
|
||||
|
||||
def bar
|
||||
foo
|
||||
.baz
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user