HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
[bpt/emacs.git]
/
test
/
automated
/
ruby-mode-tests.el
diff --git
a/test/automated/ruby-mode-tests.el
b/test/automated/ruby-mode-tests.el
index
8da0041
..
28c2a2a
100644
(file)
--- a/
test/automated/ruby-mode-tests.el
+++ b/
test/automated/ruby-mode-tests.el
@@
-202,6
+202,19
@@
VALUES-PLIST is a list with alternating index and value elements."
| end
|"))
| end
|"))
+(ert-deftest ruby-indent-after-block-in-continued-expression ()
+ (ruby-should-indent-buffer
+ "var =
+ | begin
+ | val
+ | end
+ |statement"
+ "var =
+ |begin
+ |val
+ |end
+ |statement"))
+
(ert-deftest ruby-move-to-block-stops-at-indentation ()
(with-temp-buffer
(insert "def f\nend")
(ert-deftest ruby-move-to-block-stops-at-indentation ()
(with-temp-buffer
(insert "def f\nend")