summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-10-21 09:34:13 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-10-21 09:34:13 -0400
commitdf74c4be16efb83408b78c5b1205fccfb2c10696 (patch)
treee440d2a7dac62236a578fdeee4a9a0d6ff138052 /test
parentc7e36328c69e8363928390fa8ee909d7a1cfd5b0 (diff)
downloademacs-df74c4be16efb83408b78c5b1205fccfb2c10696.tar.gz
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
an instruction.
Diffstat (limited to 'test')
-rw-r--r--test/indent/ruby.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 198ad6384f0..c9ec8bd3723 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -186,11 +186,11 @@ if foo &&
bar
end
-# Examples below still fail with `ruby-use-smie' on:
-
foo +
bar
+# Examples below still fail with `ruby-use-smie' on:
+
foo = [1, 2, 3].map do |i|
i + 1
end