(ruby-indent-spread-args-in-parens): New test.
+2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
+
+ * automated/ruby-mode-tests.el
+ (ruby-indent-spread-args-in-parens): New test.
+
2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/advice-tests.el: Split up. Add advice-test-preactivate.
|end
|statement"))
+(ert-deftest ruby-indent-spread-args-in-parens ()
+ (let ((ruby-deep-indent-paren '(?\()))
+ (ruby-should-indent-buffer
+ "foo(1,
+ | 2,
+ | 3)
+ |"
+ "foo(1,
+ | 2,
+ | 3)
+ |")))
+
(ert-deftest ruby-move-to-block-stops-at-indentation ()
(ruby-with-temp-buffer "def f\nend"
(beginning-of-line)