summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-10-18 10:28:44 +0900
committerKoichi Sasada <ko1@atdot.net>2023-10-18 18:10:24 +0900
commit46b8846b5c40cf4053f678dae1684f1c6eb52673 (patch)
treeb7b864422c20e857824c720044659c00e2bcc2cb /include/ruby
parentf546fe15d547472f60c4a2d2857321b3c5084f0f (diff)
Show backtraces when failed
If `assert_equal(backtrace_locations.size, profile_frames.size)` in `TestProfileFrames#test_matches_backtrace_locations_main_thread` failed, we do not have enough information about it like that: ``` 1) Failure: TestProfileFrames#test_matches_backtrace_locations_main_thread [/home/runner/work/ruby/ruby/src/test/-ext-/debug/test_profile_frames.rb:148]: <31> expected but was <30>. ``` This patch shows both `backtrace_locations` and `profile_frames` if failed.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions