diff options
| author | Dmitry Gutov | 2013-11-04 12:50:47 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2013-11-04 12:50:47 +0200 |
| commit | dca01b092347246195d35c4bbce321f62323d8d8 (patch) | |
| tree | 7dd2cf291a2bb58fe23a9c5d322d262b4d9694c6 /test | |
| parent | 91f2d272895257f23596075a0cc42e6e5f4e490f (diff) | |
| download | emacs-dca01b092347246195d35c4bbce321f62323d8d8.tar.gz emacs-dca01b092347246195d35c4bbce321f62323d8d8.zip | |
* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
(ruby-smie--backward-token): Tokenize heredocs as semicolons.
* test/automated/ruby-mode-tests.el: Remove outdated comment.
* test/indent/ruby.rb: Add a statement on the line after heredoc.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/automated/ruby-mode-tests.el | 2 | ||||
| -rw-r--r-- | test/indent/ruby.rb | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 1439ee12bb4..3f9f4e8810a 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-11-04 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * indent/ruby.rb: Add a statement on the line after heredoc. | ||
| 4 | |||
| 5 | * automated/ruby-mode-tests.el: Remove outdated comment. | ||
| 6 | |||
| 1 | 2013-11-04 Glenn Morris <rgm@gnu.org> | 7 | 2013-11-04 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * automated/Makefile.in (abs_srcdir): Remove. | 9 | * automated/Makefile.in (abs_srcdir): Remove. |
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index dc86b4a2914..d5d262590b6 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el | |||
| @@ -585,8 +585,6 @@ VALUES-PLIST is a list with alternating index and value elements." | |||
| 585 | (end-of-defun) | 585 | (end-of-defun) |
| 586 | (should (= 5 (line-number-at-pos))))) | 586 | (should (= 5 (line-number-at-pos))))) |
| 587 | 587 | ||
| 588 | ;; Tests below fail when using SMIE. | ||
| 589 | |||
| 590 | (defvar ruby-sexp-test-example | 588 | (defvar ruby-sexp-test-example |
| 591 | (ruby-test-string | 589 | (ruby-test-string |
| 592 | "class C | 590 | "class C |
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 65c33bb3ecf..4bf65ffcf27 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -3,6 +3,7 @@ if something_wrong? # ruby-move-to-block-skips-heredoc | |||
| 3 | boo hoo | 3 | boo hoo |
| 4 | end | 4 | end |
| 5 | eowarn | 5 | eowarn |
| 6 | foo | ||
| 6 | end | 7 | end |
| 7 | 8 | ||
| 8 | # Percent literals. | 9 | # Percent literals. |