diff options
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r-- | test/indent/ruby.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 49ed92f8fdc..cf6bcba8c39 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -135,6 +135,13 @@ end # Bug#15208 if something == :== do_something + + return false unless method == :+ + x = y + z # Bug#16609 + + a = 1 ? 2 :( + 2 + 3 + ) end # Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html |