diff options
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 0bf4bc14fbb..1993c29efb3 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -272,6 +272,8 @@ end | |||
| 272 | # http://stackoverflow.com/questions/17786563/emacs-ruby-mode-if-expressions-indentation | 272 | # http://stackoverflow.com/questions/17786563/emacs-ruby-mode-if-expressions-indentation |
| 273 | tee = if foo | 273 | tee = if foo |
| 274 | bar | 274 | bar |
| 275 | else | ||
| 276 | tee | ||
| 275 | end | 277 | end |
| 276 | 278 | ||
| 277 | a = b { | 279 | a = b { |
| @@ -328,6 +330,8 @@ def qux | |||
| 328 | foo ||= begin | 330 | foo ||= begin |
| 329 | bar | 331 | bar |
| 330 | tee | 332 | tee |
| 333 | rescue | ||
| 334 | oomph | ||
| 331 | end | 335 | end |
| 332 | end | 336 | end |
| 333 | 337 | ||