]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/indent/ruby.rb: Move two examples to "working" section, add one
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 22 Oct 2013 20:47:29 +0000 (00:47 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 22 Oct 2013 20:47:29 +0000 (00:47 +0400)
more.

test/ChangeLog
test/indent/ruby.rb

index 609a4e2d007478c40c51ad9242a573130f41b6cc..71104b64364b95972f8d31dc8cec11e5b0b99285 100644 (file)
@@ -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
index 5c47eea0baf7ff0e6cee416a9281b4855bc7f278..7ce60f5f58b5e51318741ac86d6f32033702452a 100644 (file)
@@ -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