[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111612: * automated/ruby-mode-tests.
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111612: * automated/ruby-mode-tests.el |
Date: |
Mon, 28 Jan 2013 02:47:34 +0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111612
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Mon 2013-01-28 02:47:34 +0400
message:
* automated/ruby-mode-tests.el
(ruby-indent-spread-args-in-parens): New test.
modified:
test/automated/ruby-mode-tests.el
=== modified file 'test/automated/ruby-mode-tests.el'
--- a/test/automated/ruby-mode-tests.el 2013-01-02 16:13:04 +0000
+++ b/test/automated/ruby-mode-tests.el 2013-01-27 22:47:34 +0000
@@ -237,6 +237,18 @@
|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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111612: * automated/ruby-mode-tests.el,
Dmitry Gutov <=