diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/indent/ruby.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 6ab814a4214..6793bfdec2a 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -405,6 +405,17 @@ zoo | |||
| 405 | a.records().map(&:b).zip( | 405 | a.records().map(&:b).zip( |
| 406 | foo) | 406 | foo) |
| 407 | 407 | ||
| 408 | foo1 = | ||
| 409 | subject.update( | ||
| 410 | 1 | ||
| 411 | ) | ||
| 412 | |||
| 413 | foo2 = | ||
| 414 | subject. | ||
| 415 | update( | ||
| 416 | 2 | ||
| 417 | ) | ||
| 418 | |||
| 408 | # FIXME: This is not consistent with the example below it, but this | 419 | # FIXME: This is not consistent with the example below it, but this |
| 409 | # offset only happens if the colon is at eol, which wouldn't be often. | 420 | # offset only happens if the colon is at eol, which wouldn't be often. |
| 410 | # Tokenizing `bar:' as `:bar =>' would be better, but it's hard to | 421 | # Tokenizing `bar:' as `:bar =>' would be better, but it's hard to |