summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ChangeLog1
-rw-r--r--test/indent/ruby.rb8
2 files changed, 5 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 3f9f4e8810a..1b5925d79c4 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,6 +1,7 @@
2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: Add a statement on the line after heredoc.
+ Move a now-successful example.
* automated/ruby-mode-tests.el: Remove outdated comment.
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 4bf65ffcf27..5e3db5afb71 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -234,6 +234,10 @@ aa = bb do
cc
end
+foo :bar do
+ qux
+end
+
# Examples below still fail with `ruby-use-smie' on:
foo = [1, 2, 3].map do |i|
@@ -243,7 +247,3 @@ end
bar.foo do # "." is parent to "do"; it shouldn't be.
bar
end
-
-foo :bar do
- qux
-end