From a6462ef558928da82279e437399cc169fb60b7ef Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 23 Oct 2013 00:47:29 +0400 Subject: [PATCH] * test/indent/ruby.rb: Move two examples to "working" section, add one more. --- test/ChangeLog | 5 +++++ test/indent/ruby.rb | 18 +++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index 609a4e2d007..71104b64364 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2013-10-22 Dmitry Gutov + + * indent/ruby.rb: Move two examples to "working" section, add one + more. + 2013-10-21 Dmitry Gutov * indent/ruby.rb: New examples for indentation of blocks. Example diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 5c47eea0baf..7ce60f5f58b 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -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 -- 2.39.2