Skip to content

Commit 40481fb

Browse files
committed
testing
1 parent 53f0607 commit 40481fb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/test_stackprof.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ def test_object_allocation
4040
assert_equal :object, profile[:mode]
4141
assert_equal 1, profile[:interval]
4242
if RUBY_VERSION >= '3'
43-
assert_equal 4, profile[:samples]
43+
begin
44+
assert_equal 4, profile[:samples]
45+
rescue Exception => e
46+
p profile
47+
raise
48+
end
4449
else
4550
assert_equal 2, profile[:samples]
4651
end

0 commit comments

Comments
 (0)