aboutsummaryrefslogtreecommitdiffstats
path: root/test/automated/ruby-mode-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/automated/ruby-mode-tests.el')
-rw-r--r--test/automated/ruby-mode-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el
index ba3040577b1..8da0041e9a4 100644
--- a/test/automated/ruby-mode-tests.el
+++ b/test/automated/ruby-mode-tests.el
@@ -202,13 +202,13 @@ VALUES-PLIST is a list with alternating index and value elements."
202 | end 202 | end
203 |")) 203 |"))
204 204
205(ert-deftest ruby-move-to-block-stops-at-opening () 205(ert-deftest ruby-move-to-block-stops-at-indentation ()
206 (with-temp-buffer 206 (with-temp-buffer
207 (insert "def f\nend") 207 (insert "def f\nend")
208 (beginning-of-line) 208 (beginning-of-line)
209 (ruby-mode) 209 (ruby-mode)
210 (ruby-move-to-block -1) 210 (ruby-move-to-block -1)
211 (should (looking-at "f$")))) 211 (should (looking-at "^def"))))
212 212
213(ert-deftest ruby-toggle-block-to-do-end () 213(ert-deftest ruby-toggle-block-to-do-end ()
214 (with-temp-buffer 214 (with-temp-buffer