diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2024-10-23 14:58:08 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2024-10-23 16:04:28 +0200 |
| commit | a6c4a842db78ce61dc823eaf055eb3373e4b296d (patch) | |
| tree | 5b4049ba0cce50b0d4fa31e25cac3467b619f407 /include/ruby/ruby.h | |
| parent | 681313872fa2583a55539860db9c5137298b3a82 (diff) | |
Harden the ObjectSpace.memsize_of spec
[Bug #20803]
`abc` is used a lot across the ruby spec suite, if another test runs before
this spec is loaded and create this symbol dynamically (`"abc".to_sym`)
the spec will fail.
So it's preferable to use a symbol name that is very unlikely to be
used elsewhere to avoid flakes.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11942
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
