summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2013-11-04 13:04:50 +0200
committerDmitry Gutov <dgutov@yandex.ru>2013-11-04 13:04:50 +0200
commit41784d0ba64e080c83d660d69be9553906df3dca (patch)
tree4e92658a42d1ff6822d2cbbc74e39ff1617dea7a
parentdca01b092347246195d35c4bbce321f62323d8d8 (diff)
downloademacs-41784d0ba64e080c83d660d69be9553906df3dca.tar.gz
* test/indent/ruby.rb: Move a now-successful example.
-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