diff options
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index b4173b69bc1..633b2991d5e 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -220,6 +220,11 @@ def bar | |||
| 220 | .baz | 220 | .baz |
| 221 | end | 221 | end |
| 222 | 222 | ||
| 223 | # http://stackoverflow.com/questions/17786563/emacs-ruby-mode-if-expressions-indentation | ||
| 224 | tee = if foo | ||
| 225 | bar | ||
| 226 | end | ||
| 227 | |||
| 223 | # Examples below still fail with `ruby-use-smie' on: | 228 | # Examples below still fail with `ruby-use-smie' on: |
| 224 | 229 | ||
| 225 | foo = [1, 2, 3].map do |i| | 230 | foo = [1, 2, 3].map do |i| |