diff options
| author | Joakim Verona | 2012-12-27 09:31:53 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-27 09:31:53 +0100 |
| commit | a5418f70809c7add030eab14c4eb5123b7b05ce8 (patch) | |
| tree | 4d27f583984ac389a1813ae51ac17f12b4876b80 /test | |
| parent | 9a5cff17394a488182a65808569cc4efe6151933 (diff) | |
| parent | 82e2a1f054cc0306494d1194036af4c5d7301caf (diff) | |
| download | emacs-a5418f70809c7add030eab14c4eb5123b7b05ce8.tar.gz emacs-a5418f70809c7add030eab14c4eb5123b7b05ce8.zip | |
auto upstream
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/ruby-mode-tests.el | 13 |
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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-12-14 Dmitry Gutov <dgutov@yandex.ru> | 6 | 2012-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) |