aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/indent/ruby.rb7
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
135# Bug#15208 135# Bug#15208
136if something == :== 136if something == :==
137 do_something 137 do_something
138
139 return false unless method == :+
140 x = y + z # Bug#16609
141
142 a = 1 ? 2 :(
143 2 + 3
144 )
138end 145end
139 146
140# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html 147# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html