Project

General

Profile

« Previous | Next » 

Revision a6c4a842

Added by byroot (Jean Boussier) 8 months ago

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.