mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-28 01:00:52 -07:00
* test/indent/ruby.rb: Move two examples to "working" section, add one
more.
This commit is contained in:
parent
7790a27058
commit
a6462ef558
2 changed files with 16 additions and 7 deletions
|
|
@ -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 @@ foo_bar_tee(1, 2, 3)
|
|||
.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 @@ method :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…
Add table
Add a link
Reference in a new issue