aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r--test/indent/ruby.rb6
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
169end 169end
170 170
171qux :+,
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
172d = 4 + 5 + # no '\' needed 178d = 4 + 5 + # no '\' needed
173 6 + 7 179 6 + 7