Skip to content

Commit 70f3910

Browse files
committed
testing
1 parent 8cd73fa commit 70f3910

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/test_stackprof.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ def test_object_allocation
4444
assert_equal :object, profile[:mode]
4545
assert_equal 1, profile[:interval]
4646
if RUBY_VERSION >= '3'
47-
assert_equal 4, profile[:samples]
47+
begin
48+
assert_equal 4, profile[:samples]
49+
rescue Exception => e
50+
p profile
51+
raise
52+
end
4853
else
4954
assert_equal 2, profile[:samples]
5055
end

0 commit comments

Comments
 (0)