Skip to content
  • Jean Boussier's avatar
    a6c4a842
    Harden the ObjectSpace.memsize_of spec · a6c4a842
    Jean Boussier authored
    [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.
    a6c4a842
    Harden the ObjectSpace.memsize_of spec
    Jean Boussier authored
    [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.
Loading