Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed May 5, 2021
1 parent 53f0607 commit 40481fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_stackprof.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ def test_object_allocation
assert_equal :object, profile[:mode]
assert_equal 1, profile[:interval]
if RUBY_VERSION >= '3'
assert_equal 4, profile[:samples]
begin
assert_equal 4, profile[:samples]
rescue Exception => e
p profile
raise
end
else
assert_equal 2, profile[:samples]
end
Expand Down

0 comments on commit 40481fb

Please sign in to comment.