Project

General

Profile

ยซ Previous | Next ยป 

Revision 0ab0229c

Added by eileencodes (Eileen Uchitelle) about 3 years ago

Fix frozen object inspect

In the rails/rails CI build for Ruby master we found that some tests
were failing due to inspect on a frozen object being incorrect.

An object's instance variable count was incorrect when frozen causing
the object's inspect to not splat out the object.

This fixes the issue and adds a test for inspecting frozen objects.

Co-Authored-By: Jemma Issroff
Co-Authored-By: Aaron Patterson