From: Dmitry Gutov Date: Sun, 27 Jan 2013 22:47:34 +0000 (+0400) Subject: * automated/ruby-mode-tests.el X-Git-Tag: emacs-24.3.90~173^2~7^2~211 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b162502414d491f6893d962a49a88dfabac86fbf;p=emacs.git * automated/ruby-mode-tests.el (ruby-indent-spread-args-in-parens): New test. --- diff --git a/test/ChangeLog b/test/ChangeLog index 7857000ba2f..505ac398e2f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2013-01-27 Dmitry Gutov + + * automated/ruby-mode-tests.el + (ruby-indent-spread-args-in-parens): New test. + 2013-01-15 Stefan Monnier * automated/advice-tests.el: Split up. Add advice-test-preactivate. diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index 4cc9c590c20..42c59a1f3f0 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el @@ -237,6 +237,18 @@ VALUES-PLIST is a list with alternating index and value elements." |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)