summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2026-05-04 07:12:22 +0200
committerJean Boussier <jean.boussier@gmail.com>2026-05-04 10:33:29 +0200
commita3cfaf25031853f97114ecc6dcca852a02d95867 (patch)
tree6bdd74e8c4abea1a56057a9772749b400aef8b06 /test
parentca4047c50842a6f56096931c0fee1d70294bc829 (diff)
test_shapes.rb: replace hardcoded MANY_IVS constant
Since more size pools have been added, this constant was outdated.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_shapes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_shapes.rb b/test/ruby/test_shapes.rb
index b3333b1660..717ef48a1f 100644
--- a/test/ruby/test_shapes.rb
+++ b/test/ruby/test_shapes.rb
@@ -6,7 +6,7 @@ require 'securerandom'
# These test the functionality of object shapes
class TestShapes < Test::Unit::TestCase
- MANY_IVS = 80
+ MANY_IVS = RubyVM::Shape::SHAPE_MAX_EMBEDDED_CAPACITY + 1
class IVOrder
def expected_ivs