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 82cc63f9168..dec6de98605 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -40,6 +40,10 @@ x = toto / foo if /do bar/ =~ "dobar" | |||
| 40 | 40 | ||
| 41 | /foo/xi != %r{bar}mo.tee | 41 | /foo/xi != %r{bar}mo.tee |
| 42 | 42 | ||
| 43 | foo { /"tee/ | ||
| 44 | bar { |qux| /'fee"/ } # bug#20026 | ||
| 45 | } | ||
| 46 | |||
| 43 | bar(class: XXX) do # ruby-indent-keyword-label | 47 | bar(class: XXX) do # ruby-indent-keyword-label |
| 44 | foo | 48 | foo |
| 45 | end | 49 | end |