1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update test to handle x32 ABI compiled Ruby on Linux

Suggestion from Laurence Parry.

Fixes [Bug #16030]
This commit is contained in:
Jeremy Evans 2019-10-17 10:16:32 -07:00
parent 8c0629ba58
commit ee821e9074
Notes: git 2019-10-18 04:22:14 +09:00

View file

@ -1250,6 +1250,7 @@ class TestTime < Test::Unit::TestCase
size = GC::INTERNAL_CONSTANTS[:RVALUE_SIZE]
case size
when 20 then expect = 50
when 24 then expect = 54
when 40 then expect = 86
when 48 then expect = 94
else