Skip to content

Commit

Permalink
Update core/tracepoint/allow_reentry_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 31, 2022
1 parent 83e38b9 commit 33fb3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tracepoint/allow_reentry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
event_lines.should == [l1, l3, l4, l2, l3, l4]
end

it 'raises RuntimeError' do
it 'raises RuntimeError when not called inside a TracePoint' do
-> {
TracePoint.allow_reentry{}
}.should raise_error(RuntimeError)
Expand Down

0 comments on commit 33fb3f0

Please sign in to comment.