We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f0607 commit 40481fbCopy full SHA for 40481fb
1 file changed
test/test_stackprof.rb
@@ -40,7 +40,12 @@ def test_object_allocation
40
assert_equal :object, profile[:mode]
41
assert_equal 1, profile[:interval]
42
if RUBY_VERSION >= '3'
43
- assert_equal 4, profile[:samples]
+ begin
44
+ assert_equal 4, profile[:samples]
45
+ rescue Exception => e
46
+ p profile
47
+ raise
48
+ end
49
else
50
assert_equal 2, profile[:samples]
51
end
0 commit comments