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.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 99482433145..fb341ee7ba6 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -148,6 +148,11 @@ if something == :==
148 ) 148 )
149end 149end
150 150
151# Bug#17097
152if x == :!=
153 something
154end
155
151# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html 156# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html
152d = 4 + 5 + # no '\' needed 157d = 4 + 5 + # no '\' needed
153 6 + 7 158 6 + 7