aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJoakim Verona2013-01-28 00:03:33 +0100
committerJoakim Verona2013-01-28 00:03:33 +0100
commit7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53 (patch)
treea2ab223572d6bb71463836da2c95fa512234a255 /test
parent41d9ac9abdae964900a6f31087e6b9160635b2ba (diff)
parentb162502414d491f6893d962a49a88dfabac86fbf (diff)
downloademacs-7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53.tar.gz
emacs-7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53.zip
auto upstream
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/ruby-mode-tests.el12
2 files changed, 17 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 7857000ba2f..505ac398e2f 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
12013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2
3 * automated/ruby-mode-tests.el
4 (ruby-indent-spread-args-in-parens): New test.
5
12013-01-15 Stefan Monnier <monnier@iro.umontreal.ca> 62013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * automated/advice-tests.el: Split up. Add advice-test-preactivate. 8 * 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."
237 |end 237 |end
238 |statement")) 238 |statement"))
239 239
240(ert-deftest ruby-indent-spread-args-in-parens ()
241 (let ((ruby-deep-indent-paren '(?\()))
242 (ruby-should-indent-buffer
243 "foo(1,
244 | 2,
245 | 3)
246 |"
247 "foo(1,
248 | 2,
249 | 3)
250 |")))
251
240(ert-deftest ruby-move-to-block-stops-at-indentation () 252(ert-deftest ruby-move-to-block-stops-at-indentation ()
241 (ruby-with-temp-buffer "def f\nend" 253 (ruby-with-temp-buffer "def f\nend"
242 (beginning-of-line) 254 (beginning-of-line)