Skip to content

Commit ab672de

Browse files
committed
Ruby: strip trailing whitespace in calls.rb test
1 parent 1253657 commit ab672de

File tree

1 file changed

+11
-11
lines changed
  • ruby/ql/test/library-tests/modules

1 file changed

+11
-11
lines changed

ruby/ql/test/library-tests/modules/calls.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def self.singleton_m
2828

2929
instance_m # NoMethodError
3030
self.instance_m # NoMethodError
31-
31+
3232
singleton_m
3333
self.singleton_m
3434
end
@@ -44,18 +44,18 @@ class C
4444
include M
4545
instance_m # NoMethodError
4646
self.instance_m # NoMethodError
47-
47+
4848
singleton_m # NoMethodError
4949
self.singleton_m # NoMethodError
5050

5151
def baz
52-
instance_m
53-
self.instance_m
54-
52+
instance_m
53+
self.instance_m
54+
5555
singleton_m # NoMethodError
5656
self.singleton_m # NoMethodError
5757
end
58-
end
58+
end
5959

6060
c = C.new
6161
c.baz
@@ -192,16 +192,16 @@ def self.singleton_a
192192
puts "singleton_a"
193193
self.singleton_b
194194
end
195-
195+
196196
def self.singleton_b
197197
puts "singleton_b"
198198
self.singleton_c
199199
end
200-
200+
201201
def self.singleton_c
202202
puts "singleton_c"
203203
end
204-
204+
205205
def self.singleton_d
206206
puts "singleton_d"
207207
self.singleton_a
@@ -224,7 +224,7 @@ def call_singleton_g
224224
self.singleton_g
225225
end
226226
end
227-
227+
228228
Singletons.singleton_a
229229
Singletons.singleton_f
230230

@@ -423,7 +423,7 @@ def m1
423423

424424
def m2
425425
puts "ConditionalInstanceMethods#m2"
426-
426+
427427
def m3
428428
puts "ConditionalInstanceMethods#m3"
429429

0 commit comments

Comments
 (0)