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:
parent
499572e4d5
commit
b162502414
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user