aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2012-12-27 00:21:08 -0800
committerGlenn Morris2012-12-27 00:21:08 -0800
commit82e2a1f054cc0306494d1194036af4c5d7301caf (patch)
treef78be2edfd92d4eba0dc28bd110f646a314438ae /test
parentc34339f3a2c425ca37bec0c6a152f913ab61f458 (diff)
parente1da740354d9cab626bce82645adcfc6b0735b70 (diff)
downloademacs-82e2a1f054cc0306494d1194036af4c5d7301caf.tar.gz
emacs-82e2a1f054cc0306494d1194036af4c5d7301caf.zip
Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/ruby-mode-tests.el13
2 files changed, 18 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index e7e7c755d02..7d9b10ce787 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
12012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2
3 * automated/ruby-mode-tests.el
4 (ruby-indent-after-block-in-continued-expression): New test.
5
12012-12-14 Dmitry Gutov <dgutov@yandex.ru> 62012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2 7
3 * automated/ruby-mode-tests.el 8 * automated/ruby-mode-tests.el
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el
index 1f0c0ab6f9e..51c28e667fd 100644
--- a/test/automated/ruby-mode-tests.el
+++ b/test/automated/ruby-mode-tests.el
@@ -224,6 +224,19 @@ VALUES-PLIST is a list with alternating index and value elements."
224 | end 224 | end
225 |")) 225 |"))
226 226
227(ert-deftest ruby-indent-after-block-in-continued-expression ()
228 (ruby-should-indent-buffer
229 "var =
230 | begin
231 | val
232 | end
233 |statement"
234 "var =
235 |begin
236 |val
237 |end
238 |statement"))
239
227(ert-deftest ruby-move-to-block-stops-at-indentation () 240(ert-deftest ruby-move-to-block-stops-at-indentation ()
228 (ruby-with-temp-buffer "def f\nend" 241 (ruby-with-temp-buffer "def f\nend"
229 (beginning-of-line) 242 (beginning-of-line)