diff options
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 49478602e41..3fdb68064be 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -168,6 +168,12 @@ if x == :!= | |||
| 168 | something | 168 | something |
| 169 | end | 169 | end |
| 170 | 170 | ||
| 171 | qux :+, | ||
| 172 | bar, | ||
| 173 | :[]=, | ||
| 174 | bar, | ||
| 175 | :a | ||
| 176 | |||
| 171 | # Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html | 177 | # Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html |
| 172 | d = 4 + 5 + # no '\' needed | 178 | d = 4 + 5 + # no '\' needed |
| 173 | 6 + 7 | 179 | 6 + 7 |