summaryrefslogtreecommitdiff
path: root/test/ruby/test_shapes.rb
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-03-12 14:34:17 -0400
committerPeter Zhu <[email protected]>2024-03-13 09:55:52 -0400
commit3896f9940e7f663dd4db8162c071d72e2539addf ()
tree0fe380931280db7693778a067750d0f093ee2cb2 /test/ruby/test_shapes.rb
parent6b0434c0f721a62d617b26986565985598c7b8c9 (diff)
Make special const and too complex shapes before T_OBJECT shapes
-rw-r--r--test/ruby/test_shapes.rb2
1 files changed, 1 insertions, 1 deletions
@@ -786,7 +786,7 @@ class TestShapes < Test::Unit::TestCase
def test_remove_instance_variable_capacity_transition
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
begin;
- t_object_shape = RubyVM::Shape.find_by_id(1)
assert_equal(RubyVM::Shape::SHAPE_T_OBJECT, t_object_shape.type)
initial_capacity = t_object_shape.capacity