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