Commit a6462ef5 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* test/indent/ruby.rb: Move two examples to "working" section, add one

more.
parent 7790a270
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment