diff options
| author | Dmitry Gutov | 2013-11-04 13:04:50 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2013-11-04 13:04:50 +0200 |
| commit | 41784d0ba64e080c83d660d69be9553906df3dca (patch) | |
| tree | 4e92658a42d1ff6822d2cbbc74e39ff1617dea7a | |
| parent | dca01b092347246195d35c4bbce321f62323d8d8 (diff) | |
| download | emacs-41784d0ba64e080c83d660d69be9553906df3dca.tar.gz emacs-41784d0ba64e080c83d660d69be9553906df3dca.zip | |
* test/indent/ruby.rb: Move a now-successful example.
| -rw-r--r-- | test/ChangeLog | 1 | ||||
| -rw-r--r-- | test/indent/ruby.rb | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 3f9f4e8810a..1b5925d79c4 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2013-11-04 Dmitry Gutov <dgutov@yandex.ru> | 1 | 2013-11-04 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 2 | ||
| 3 | * indent/ruby.rb: Add a statement on the line after heredoc. | 3 | * indent/ruby.rb: Add a statement on the line after heredoc. |
| 4 | Move a now-successful example. | ||
| 4 | 5 | ||
| 5 | * automated/ruby-mode-tests.el: Remove outdated comment. | 6 | * automated/ruby-mode-tests.el: Remove outdated comment. |
| 6 | 7 | ||
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 4bf65ffcf27..5e3db5afb71 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -234,6 +234,10 @@ aa = bb do | |||
| 234 | cc | 234 | cc |
| 235 | end | 235 | end |
| 236 | 236 | ||
| 237 | foo :bar do | ||
| 238 | qux | ||
| 239 | end | ||
| 240 | |||
| 237 | # Examples below still fail with `ruby-use-smie' on: | 241 | # Examples below still fail with `ruby-use-smie' on: |
| 238 | 242 | ||
| 239 | foo = [1, 2, 3].map do |i| | 243 | foo = [1, 2, 3].map do |i| |
| @@ -243,7 +247,3 @@ end | |||
| 243 | bar.foo do # "." is parent to "do"; it shouldn't be. | 247 | bar.foo do # "." is parent to "do"; it shouldn't be. |
| 244 | bar | 248 | bar |
| 245 | end | 249 | end |
| 246 | |||
| 247 | foo :bar do | ||
| 248 | qux | ||
| 249 | end | ||