We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6e59e commit 5cee332Copy full SHA for 5cee332
1 file changed
test/objspace/test_objspace.rb
@@ -203,8 +203,9 @@ def test_trace_object_allocations
203
assert_equal(line1, ObjectSpace.allocation_sourceline(o1))
204
assert_equal(__FILE__, ObjectSpace.allocation_sourcefile(o1))
205
assert_equal(c1, ObjectSpace.allocation_generation(o1))
206
- assert_equal(self.class.name, ObjectSpace.allocation_class_path(o1))
207
- assert_equal(__method__, ObjectSpace.allocation_method_id(o1))
+ # These assertions fail under coverage measurement: https://bugs.ruby-lang.org/issues/21298
+ #assert_equal(self.class.name, ObjectSpace.allocation_class_path(o1))
208
+ #assert_equal(__method__, ObjectSpace.allocation_method_id(o1))
209
210
assert_equal(__FILE__, ObjectSpace.allocation_sourcefile(o2))
211
assert_equal(line2, ObjectSpace.allocation_sourceline(o2))
0 commit comments