diff options
| author | Koichi Sasada <ko1@atdot.net> | 2024-06-10 12:35:37 +0900 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2024-06-10 12:23:39 +0200 |
| commit | 528a23b53c07001461e35aad30deabd736bb417c (patch) | |
| tree | d306b06b9f92d8d2d65c1f87268c374b3d9a597d /include/ruby | |
| parent | 8abdd56c31f8d52a59ea40db72881bbf2cc08d21 (diff) | |
Check current file on TracePoint
```
1)
TracePoint#inspect returns a String showing the event, method, path and line for a :call event FAILED
Expected "#<TracePoint:call 'call' /tmp/ruby/src/trunk/spec/ruby/core/objectspace/define_finalizer_spec.rb:33>" =~ /\A#<TracePoint:call [`']trace_point_spec_test_call' \/tmp\/ruby\/src\/trunk\/spec\/ruby\/core\/tracepoint\/inspect_spec.rb:43>\z/
to be truthy but was nil
```
This kind of failures comes because of finaizers.
So check the current file or not.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
