summaryrefslogtreecommitdiff
path: root/include/ruby/internal/core
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2024-10-23 14:58:08 +0200
committerJean Boussier <jean.boussier@gmail.com>2024-10-23 16:04:28 +0200
commita6c4a842db78ce61dc823eaf055eb3373e4b296d (patch)
tree5b4049ba0cce50b0d4fa31e25cac3467b619f407 /include/ruby/internal/core
parent681313872fa2583a55539860db9c5137298b3a82 (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/internal/core')
0 files changed, 0 insertions, 0 deletions