Skip to content

Commit 3cdb277

Browse files
committed
Ruby: Add more call graph tests
1 parent 9dede31 commit 3cdb277

File tree

6 files changed

+1798
-1690
lines changed

6 files changed

+1798
-1690
lines changed

ruby/ql/test/library-tests/modules/ancestors.expected

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,64 +94,64 @@ calls.rb:
9494
# 325| C1
9595
#-----| super -> Object
9696

97-
# 331| C2
97+
# 335| C2
9898
#-----| super -> C1
9999

100-
# 337| C3
100+
# 341| C3
101101
#-----| super -> C2
102102

103-
# 377| SingletonOverride1
103+
# 385| SingletonOverride1
104104
#-----| super -> Object
105105

106-
# 412| SingletonOverride2
106+
# 420| SingletonOverride2
107107
#-----| super -> SingletonOverride1
108108

109-
# 433| ConditionalInstanceMethods
109+
# 441| ConditionalInstanceMethods
110110
#-----| super -> Object
111111

112-
# 496| ExtendSingletonMethod
112+
# 504| ExtendSingletonMethod
113113

114-
# 506| ExtendSingletonMethod2
114+
# 514| ExtendSingletonMethod2
115115

116-
# 512| ExtendSingletonMethod3
116+
# 520| ExtendSingletonMethod3
117117

118-
# 525| ProtectedMethodInModule
118+
# 533| ProtectedMethodInModule
119119

120-
# 531| ProtectedMethods
120+
# 539| ProtectedMethods
121121
#-----| super -> Object
122122
#-----| include -> ProtectedMethodInModule
123123

124-
# 550| ProtectedMethodsSub
124+
# 558| ProtectedMethodsSub
125125
#-----| super -> ProtectedMethods
126126

127-
# 564| SingletonUpCall_Base
127+
# 572| SingletonUpCall_Base
128128
#-----| super -> Object
129129

130-
# 568| SingletonUpCall_Sub
130+
# 576| SingletonUpCall_Sub
131131
#-----| super -> SingletonUpCall_Base
132132

133-
# 576| SingletonUpCall_SubSub
133+
# 584| SingletonUpCall_SubSub
134134
#-----| super -> SingletonUpCall_Sub
135135

136-
# 583| SingletonA
136+
# 591| SingletonA
137137
#-----| super -> Object
138138

139-
# 596| SingletonB
139+
# 604| SingletonB
140140
#-----| super -> SingletonA
141141

142-
# 605| SingletonC
142+
# 613| SingletonC
143143
#-----| super -> SingletonA
144144

145-
# 618| Included
145+
# 626| Included
146146

147-
# 626| IncludesIncluded
147+
# 634| IncludesIncluded
148148
#-----| super -> Object
149149
#-----| include -> Included
150150

151-
# 633| CustomNew1
151+
# 641| CustomNew1
152152
#-----| super -> Object
153153

154-
# 641| CustomNew2
154+
# 649| CustomNew2
155155
#-----| super -> Object
156156

157157
hello.rb:

0 commit comments

Comments
 (0)