1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

* automated/ruby-mode-tests.el

(ruby-indent-spread-args-in-parens): New test.
This commit is contained in:
Dmitry Gutov 2013-01-28 02:47:34 +04:00
parent 499572e4d5
commit b162502414
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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)