summaryrefslogtreecommitdiff
path: root/test/indent
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2013-11-07 03:58:12 +0200
committerDmitry Gutov <dgutov@yandex.ru>2013-11-07 03:58:12 +0200
commitb420ccfc4cbe081b53881a7c9f0dd6b778b99b99 (patch)
treec9aa0d449ad8538ef65d9c8aae799f1a9daa3f6a /test/indent
parente2e894cf5c87c3880fe5725ac3ef7e6ab529eaf1 (diff)
downloademacs-b420ccfc4cbe081b53881a7c9f0dd6b778b99b99.tar.gz
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
"." compared to "do".
Diffstat (limited to 'test/indent')
-rw-r--r--test/indent/ruby.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 5e3db5afb71..3d881edcba9 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -238,12 +238,10 @@ foo :bar do
qux
end
-# Examples below still fail with `ruby-use-smie' on:
-
foo = [1, 2, 3].map do |i|
i + 1
end
-bar.foo do # "." is parent to "do"; it shouldn't be.
+bar.foo do
bar
end