diff options
| -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 | ||