зеркало из https://github.com/github/ruby.git
46b8846b5c
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. |
||
---|---|---|
.. | ||
arith_seq | ||
array | ||
bignum | ||
bug_reporter | ||
class | ||
debug | ||
econv | ||
eval | ||
exception | ||
file | ||
float | ||
funcall | ||
gvl | ||
hash | ||
integer | ||
iseq_load | ||
iter | ||
load | ||
marshal | ||
method | ||
num2int | ||
path_to_class | ||
popen_deadlock | ||
postponed_job | ||
proc | ||
rational | ||
st | ||
string | ||
struct | ||
symbol | ||
thread | ||
thread_fd | ||
time | ||
tracepoint | ||
typeddata | ||
vm | ||
wait | ||
win32 | ||
test_abi.rb | ||
test_bug-3571.rb | ||
test_bug-5832.rb | ||
test_bug-14834.rb | ||
test_enumerator_kw.rb | ||
test_notimplement.rb | ||
test_printf.rb | ||
test_random.rb | ||
test_recursion.rb | ||
test_scan_args.rb |