ruby/test/-ext-
Jean Boussier 83f57ca3d2 String.new(capacity:) don't substract termlen
[Bug #20585]

This was changed in 36a06efdd9f0604093dccbaf96d4e2cb17874dc8 because
`String.new(1024)` would end up allocating `1025` bytes, but the problem
with this change is that the caller may be trying to right size a String.

So instead, we should just better document the behavior of `capacity:`.
2024-06-19 15:11:07 +02:00
..
arith_seq
array
bignum
bug_reporter [PRISM] Fix test_bug_reporter with prism 2024-01-31 14:20:51 -05:00
class
debug Show the method owner in backtraces 2024-02-15 19:11:58 +09:00
econv
eval
exception
file
float
funcall
gvl
hash
integer Make subclasses to define methods 2024-06-07 00:50:30 +09:00
iseq_load
iter
load loading/testing in different processes for multiple runs 2023-12-15 21:36:27 +09:00
marshal Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
method
num2int
path_to_class
popen_deadlock
postponed_job Add a test case for preregistering with different data 2023-12-13 13:35:05 +11:00
proc
rational
st
string String.new(capacity:) don't substract termlen 2024-06-19 15:11:07 +02:00
struct [Feature #19757] Add new API `rb_data_define` 2023-07-13 17:55:55 +09:00
symbol [Bug #20025] Check if upper/lower before fallback to case-folding 2023-11-29 14:40:21 +09:00
thread Fix incorrect assertion in TestThreadInstrumentation 2024-05-20 14:59:59 +09:00
thread_fd
time
tracepoint Ensure test suite is compatible with --frozen-string-literal 2024-03-14 17:56:15 +01:00
typeddata
vm
wait
win32
test_abi.rb
test_bug-3571.rb Show the method owner in backtraces 2024-02-15 19:11:58 +09:00
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