From b162502414d491f6893d962a49a88dfabac86fbf Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 28 Jan 2013 02:47:34 +0400 Subject: [PATCH] * automated/ruby-mode-tests.el (ruby-indent-spread-args-in-parens): New test. --- test/ChangeLog | 5 +++++ test/automated/ruby-mode-tests.el | 12 ++++++++++++ 2 files changed, 17 insertions(+) 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) -- 2.39.2